Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.221/0.221, allocations: 44.94 MB / 359.6 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 71.88 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3765, allocations: 65.47 MB / 0.5582 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003185/0.3796, allocations: 1.61 MB / 0.5598 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3807, allocations: 0.5144 MB / 0.5603 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.053e-05/0.3808, allocations: 0 / 0.5603 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006388/0.3814, allocations: 451.1 kB / 0.5607 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.3819, allocations: 299.3 kB / 0.561 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.3822, allocations: 126.8 kB / 0.5611 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.3825, allocations: 175.6 kB / 0.5613 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.3826, allocations: 8 kB / 0.5613 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.3827, allocations: 119.6 kB / 0.5614 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.383, allocations: 243.5 kB / 0.5616 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.383, allocations: 4 kB / 0.5616 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.871e-05/0.3831, allocations: 16 kB / 0.5617 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.3832, allocations: 83.69 kB / 0.5617 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.3833, allocations: 67.3 kB / 0.5618 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.3836, allocations: 272.9 kB / 0.5621 GB, free: 3.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3836, allocations: 0 / 0.5621 GB, free: 3.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3836, allocations: 0 / 0.5621 GB, free: 3.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.3836, allocations: 0 / 0.5621 GB, free: 3.359 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.0008157/0.3845, allocations: 0.5738 MB / 0.5626 GB, free: 2.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3845, allocations: 8.031 kB / 0.5626 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.029e-05/0.3846, allocations: 44.66 kB / 0.5627 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.3849, allocations: 238.8 kB / 0.5629 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3849, allocations: 4.359 kB / 0.5629 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3849, allocations: 4.375 kB / 0.5629 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.3851, allocations: 66.72 kB / 0.563 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3851, allocations: 0 / 0.563 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.3851, allocations: 0 / 0.563 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3851, allocations: 4 kB / 0.563 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.3852, allocations: 27.97 kB / 0.563 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.3857, allocations: 328.4 kB / 0.5633 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3858, allocations: 38.56 kB / 0.5633 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.624e-05/0.3859, allocations: 24.88 kB / 0.5634 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3859, allocations: 4 kB / 0.5634 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3859, allocations: 34.56 kB / 0.5634 GB, free: 1.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3859, allocations: 0 / 0.5634 GB, free: 1.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003522/0.3863, allocations: 121.4 kB / 0.5635 GB, free: 1.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.3863, allocations: 51.41 kB / 0.5636 GB, free: 1.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009726/0.3873, allocations: 0.8613 MB / 0.5644 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3873, allocations: 25.7 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.3875, allocations: 220.1 kB / 0.5646 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.3875, allocations: 3.953 kB / 0.5647 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.3876, allocations: 21.66 kB / 0.5647 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.3878, allocations: 358.8 kB / 0.565 GB, free: 164 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.369e-05/0.3878, allocations: 19.92 kB / 0.565 GB, free: 144 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.3879, allocations: 15.98 kB / 0.565 GB, free: 128 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.388, allocations: 44.77 kB / 0.5651 GB, free: 80 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.388, allocations: 3.938 kB / 0.5651 GB, free: 76 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002287/0.3883, allocations: 109.3 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3883, allocations: 4 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3883, allocations: 0 / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3883, allocations: 0 / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.598e-05/0.3884, allocations: 11.98 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.046e-06/0.3884, allocations: 3.938 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.3885, allocations: 4 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.3885, allocations: 8 kB / 0.5652 GB, free: 15.93 MB / 414.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 (3): * Single equations (assignments): 3 * 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.0002289/0.3887, allocations: 217.7 kB / 0.5654 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.3888, allocations: 43.72 kB / 0.5655 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.389, allocations: 113.4 kB / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3891, allocations: 7.984 kB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3891, allocations: 0 / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3891, allocations: 48 / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.3894, allocations: 241.1 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3894, allocations: 0 / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.3894, allocations: 8 kB / 0.5658 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3894, allocations: 4 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3894, allocations: 7.984 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3894, allocations: 3.938 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3894, allocations: 0 / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.3897, allocations: 199.2 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.3897, allocations: 35.72 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.3898, allocations: 3.984 kB / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.3899, allocations: 4 kB / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.3899, allocations: 0 / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.3899, allocations: 4 kB / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007279/0.3906, allocations: 0.655 MB / 0.5667 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3906, allocations: 0 / 0.5667 GB, free: 14.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.3909, allocations: 19.94 kB / 0.5667 GB, free: 14.31 MB / 414.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 (3): * Single equations (assignments): 3 * 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.001421/0.3923, allocations: 380.6 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.3925, allocations: 39.91 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3925, allocations: 0 / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.354e-05/0.3925, allocations: 19.98 kB / 0.5672 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.393, allocations: 25.89 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3942, allocations: 0.8236 MB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.3945, allocations: 215.5 kB / 0.5682 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.3945, allocations: 11.44 kB / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3945, allocations: 0 / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of Templates: time 0.007732/0.4023, allocations: 3.664 MB / 0.5718 GB, free: 9.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.909410369116813]