Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.735/1.735, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2442/0.2442, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 79.86 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.4862, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.00367/0.49, allocations: 1.591 MB / 0.5326 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.4912, allocations: 0.5417 MB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.4913, allocations: 1.781 kB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.4917, allocations: 31.22 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.4921, allocations: 82.08 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.4924, allocations: 116 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.4926, allocations: 59.41 kB / 0.5334 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.4928, allocations: 22.8 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.4928, allocations: 24.11 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.727e-05/0.4929, allocations: 22.73 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.493, allocations: 2.75 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.4931, allocations: 32.61 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.082e-05/0.4932, allocations: 17.42 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.374e-05/0.4932, allocations: 27.92 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.4934, allocations: 79.86 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4934, allocations: 0 / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.067e-06/0.4935, allocations: 0 / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.4935, allocations: 7.938 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005851/0.4941, allocations: 394.2 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.4941, allocations: 9.625 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.4942, allocations: 16.95 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.4944, allocations: 195.5 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.4944, allocations: 1.75 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.4945, allocations: 10.69 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.4946, allocations: 47.3 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4946, allocations: 5.375 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4947, allocations: 0 / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.4947, allocations: 1.375 kB / 0.5343 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.4948, allocations: 29.66 kB / 0.5343 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.4952, allocations: 285.6 kB / 0.5346 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.4954, allocations: 44.44 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.4955, allocations: 19.81 kB / 0.5346 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.4955, allocations: 5.312 kB / 0.5346 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4956, allocations: 34.5 kB / 0.5347 GB, free: 10.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4956, allocations: 1.375 kB / 0.5347 GB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005967/0.4962, allocations: 159.4 kB / 0.5348 GB, free: 10.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.4962, allocations: 51.41 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.4964, allocations: 183.6 kB / 0.535 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.4965, allocations: 25.7 kB / 0.5351 GB, free: 10.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.4965, allocations: 96.23 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.4966, allocations: 18.77 kB / 0.5352 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.4966, allocations: 17.41 kB / 0.5352 GB, free: 10.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002767/0.4969, allocations: 325.8 kB / 0.5355 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.497, allocations: 24.14 kB / 0.5355 GB, free: 9.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.497, allocations: 20.42 kB / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.4972, allocations: 55.36 kB / 0.5356 GB, free: 9.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4972, allocations: 0 / 0.5356 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001923/0.4974, allocations: 95.22 kB / 0.5357 GB, free: 9.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4974, allocations: 7.344 kB / 0.5357 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4974, allocations: 5.344 kB / 0.5357 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4975, allocations: 0 / 0.5357 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.4975, allocations: 13.95 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4975, allocations: 0 / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.4976, allocations: 7.719 kB / 0.5357 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.4976, allocations: 5.109 kB / 0.5357 GB, free: 9.602 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.904e-05/0.4977, allocations: 116.9 kB / 0.5358 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.4977, allocations: 8.484 kB / 0.5358 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.498, allocations: 110.2 kB / 0.5359 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.498, allocations: 0 / 0.5359 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.498, allocations: 1.219 kB / 0.5359 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.498, allocations: 3.938 kB / 0.5359 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005602/0.4986, allocations: 353.4 kB / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4986, allocations: 0 / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/0.4987, allocations: 14.11 kB / 0.5363 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4987, allocations: 4 kB / 0.5363 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.4987, allocations: 5.125 kB / 0.5363 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4987, allocations: 4.969 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4987, allocations: 192 / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.499, allocations: 182.8 kB / 0.5365 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.499, allocations: 87.39 kB / 0.5366 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.4991, allocations: 9.125 kB / 0.5366 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.4992, allocations: 11.3 kB / 0.5366 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.4992, allocations: 2.281 kB / 0.5366 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.4992, allocations: 1.125 kB / 0.5366 GB, free: 8.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.4994, allocations: 143.8 kB / 0.5367 GB, free: 8.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4994, allocations: 1.125 kB / 0.5367 GB, free: 8.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.4996, allocations: 14.38 kB / 0.5367 GB, free: 8.645 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009827/0.5006, allocations: 395 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.5009, allocations: 58.5 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5009, allocations: 0 / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.078e-05/0.501, allocations: 28.84 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.5014, allocations: 17.5 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.5019, allocations: 201.3 kB / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.5024, allocations: 0.7125 MB / 0.5381 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.21e-05/0.5025, allocations: 24.58 kB / 0.5381 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.5025, allocations: 12.88 kB / 0.5381 GB, free: 7.488 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5025, allocations: 0 / 0.5381 GB, free: 7.488 MB / 398.1 MB Notification: Performance of Templates: time 0.004179/0.5067, allocations: 1.134 MB / 0.5392 GB, free: 6.906 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches