Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001476/0.001484, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00158/0.00158, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2652/0.2652, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 76.09 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.4635, allocations: 62.43 MB / 0.531 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.004114/0.4677, allocations: 1.681 MB / 0.5327 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.4691, allocations: 0.5506 MB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.4693, allocations: 1.375 kB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004761/0.4698, allocations: 74.02 kB / 0.5333 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004313/0.4703, allocations: 113.5 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.4707, allocations: 134.5 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.471, allocations: 85.81 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.4711, allocations: 20.41 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.964e-05/0.4712, allocations: 44.42 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.4713, allocations: 50.08 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.4714, allocations: 3.219 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.4715, allocations: 57.56 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.4717, allocations: 24.7 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.4717, allocations: 34.77 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.4721, allocations: 123.2 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4721, allocations: 1 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4721, allocations: 0 / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.4721, allocations: 4 kB / 0.5339 GB, free: 11.45 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007637/0.4729, allocations: 428.3 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.699e-05/0.473, allocations: 9 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.4731, allocations: 14.62 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.4734, allocations: 204.2 kB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.4735, allocations: 10.59 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.903e-05/0.4735, allocations: 6.547 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.4738, allocations: 63.55 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.4738, allocations: 5.156 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.4739, allocations: 0 / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.4739, allocations: 1.156 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.474, allocations: 42.84 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.4746, allocations: 307.6 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.475, allocations: 62.73 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.4751, allocations: 24.72 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.4751, allocations: 5.266 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.4752, allocations: 35.97 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.4752, allocations: 0 / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001629/0.4768, allocations: 394.7 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.4769, allocations: 56.84 kB / 0.5355 GB, free: 10 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.4773, allocations: 212.6 kB / 0.5357 GB, free: 9.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.4773, allocations: 26.77 kB / 0.5358 GB, free: 9.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.4774, allocations: 110.3 kB / 0.5359 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.4776, allocations: 35.16 kB / 0.5359 GB, free: 9.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.4776, allocations: 25.41 kB / 0.5359 GB, free: 9.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4778, allocations: 327.3 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.4779, allocations: 46.78 kB / 0.5363 GB, free: 9.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.4781, allocations: 44.59 kB / 0.5363 GB, free: 9.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.4784, allocations: 99.83 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4784, allocations: 0 / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003423/0.4787, allocations: 146.4 kB / 0.5366 GB, free: 9.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.4787, allocations: 7.656 kB / 0.5366 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4788, allocations: 1.156 kB / 0.5366 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.1e-05/0.4788, allocations: 7.922 kB / 0.5366 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.4789, allocations: 32.42 kB / 0.5366 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.479, allocations: 5.188 kB / 0.5366 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.479, allocations: 10.42 kB / 0.5366 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.479, allocations: 2.25 kB / 0.5366 GB, free: 9.129 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 (11): * Single equations (assignments): 11 * 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 0.0001609/0.4792, allocations: 129.1 kB / 0.5367 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.4793, allocations: 14.53 kB / 0.5368 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005811/0.4799, allocations: 167.1 kB / 0.5369 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.4799, allocations: 4.969 kB / 0.5369 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.4799, allocations: 0.8125 kB / 0.5369 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4799, allocations: 0 / 0.5369 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008619/0.4808, allocations: 473.8 kB / 0.5374 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.4808, allocations: 9.188 kB / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.4809, allocations: 27.89 kB / 0.5374 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4809, allocations: 1.375 kB / 0.5374 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4809, allocations: 2.656 kB / 0.5374 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4809, allocations: 0.9062 kB / 0.5374 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.481, allocations: 1.312 kB / 0.5374 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.4815, allocations: 260.1 kB / 0.5377 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.352e-05/0.4816, allocations: 96.16 kB / 0.5378 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.4816, allocations: 6.297 kB / 0.5378 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.4817, allocations: 10.06 kB / 0.5378 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.4818, allocations: 8.016 kB / 0.5378 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.4818, allocations: 7.906 kB / 0.5378 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003213/0.4821, allocations: 162.8 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4821, allocations: 0 / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.4824, allocations: 30.52 kB / 0.538 GB, free: 7.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00134/0.4838, allocations: 464.5 kB / 0.5384 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004243/0.4842, allocations: 103 kB / 0.5385 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4842, allocations: 0 / 0.5385 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.4844, allocations: 62.8 kB / 0.5386 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.4849, allocations: 27.98 kB / 0.5386 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000861/0.4858, allocations: 299.5 kB / 0.5389 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.4863, allocations: 0.7114 MB / 0.5396 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.054e-05/0.4864, allocations: 12.84 kB / 0.5396 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.4865, allocations: 23.67 kB / 0.5396 GB, free: 6.695 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4865, allocations: 7.875 kB / 0.5396 GB, free: 6.688 MB / 398.1 MB Notification: Performance of Templates: time 0.007877/0.4944, allocations: 1.571 MB / 0.5412 GB, free: 5.891 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches