Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001714/0.001714, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002078/0.002078, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.549/1.549, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2313/0.2313, allocations: 44.93 MB / 358.8 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") [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.002043/0.002043, allocations: 71.89 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3771, allocations: 65.47 MB / 0.5575 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.00352/0.3806, allocations: 1.652 MB / 0.5591 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3827, allocations: 1.267 MB / 0.5603 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.3828, allocations: 0 / 0.5603 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.383, allocations: 35.72 kB / 0.5604 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.3834, allocations: 87.61 kB / 0.5604 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.3839, allocations: 175.1 kB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.3841, allocations: 75.83 kB / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3842, allocations: 12 kB / 0.5607 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.443e-05/0.3842, allocations: 35.78 kB / 0.5607 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3844, allocations: 43.77 kB / 0.5608 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3844, allocations: 4 kB / 0.5608 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.3845, allocations: 83.95 kB / 0.5608 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.3846, allocations: 23.91 kB / 0.5609 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.3847, allocations: 19.88 kB / 0.5609 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.385, allocations: 165.8 kB / 0.561 GB, free: 3.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.385, allocations: 0 / 0.561 GB, free: 3.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.385, allocations: 0 / 0.561 GB, free: 3.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.385, allocations: 0 / 0.561 GB, free: 3.805 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005751/0.3855, allocations: 337.6 kB / 0.5614 GB, free: 3.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3856, allocations: 12.02 kB / 0.5614 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.3856, allocations: 12.89 kB / 0.5614 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.3859, allocations: 134.4 kB / 0.5615 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.3859, allocations: 384 / 0.5615 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.3859, allocations: 8.312 kB / 0.5615 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.3861, allocations: 113.2 kB / 0.5616 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3861, allocations: 0 / 0.5616 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3862, allocations: 0 / 0.5616 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3862, allocations: 0 / 0.5616 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.3863, allocations: 39.95 kB / 0.5617 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.3867, allocations: 252.4 kB / 0.5619 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3869, allocations: 46.55 kB / 0.562 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.3869, allocations: 28.94 kB / 0.562 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.387, allocations: 0 / 0.562 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.387, allocations: 34.56 kB / 0.562 GB, free: 2.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.387, allocations: 0 / 0.562 GB, free: 2.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008419/0.3879, allocations: 233.3 kB / 0.5622 GB, free: 2.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.3879, allocations: 77.11 kB / 0.5623 GB, free: 2.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3881, allocations: 149.6 kB / 0.5625 GB, free: 2.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.3881, allocations: 25.7 kB / 0.5625 GB, free: 2.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.3882, allocations: 100.1 kB / 0.5626 GB, free: 2.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.3882, allocations: 19.8 kB / 0.5626 GB, free: 2.047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.3883, allocations: 25.7 kB / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3884, allocations: 326.8 kB / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.3885, allocations: 40.03 kB / 0.563 GB, free: 1.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.3887, allocations: 83.33 kB / 0.5631 GB, free: 1.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.3889, allocations: 97 kB / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3889, allocations: 3.938 kB / 0.5631 GB, free: 1.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002949/0.3892, allocations: 117.6 kB / 0.5633 GB, free: 1.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3892, allocations: 8.031 kB / 0.5633 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3892, allocations: 0 / 0.5633 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3893, allocations: 7.922 kB / 0.5633 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.3894, allocations: 23.92 kB / 0.5633 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3894, allocations: 0 / 0.5633 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.406e-05/0.3895, allocations: 11.98 kB / 0.5633 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.3895, allocations: 3.938 kB / 0.5633 GB, free: 1.277 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 (7): * Single equations (assignments): 7 * 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 9.858e-05/0.3896, allocations: 121.8 kB / 0.5634 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.3896, allocations: 12.23 kB / 0.5634 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.39, allocations: 134.3 kB / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.39, allocations: 3.984 kB / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.39, allocations: 0 / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.39, allocations: 3.984 kB / 0.5636 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.3905, allocations: 354 kB / 0.5639 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3905, allocations: 4 kB / 0.5639 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.3906, allocations: 19.98 kB / 0.5639 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3906, allocations: 3.984 kB / 0.5639 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3906, allocations: 0 / 0.5639 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3906, allocations: 0 / 0.5639 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.3906, allocations: 7.938 kB / 0.5639 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.391, allocations: 227.4 kB / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.391, allocations: 11.95 kB / 0.5642 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.391, allocations: 4 kB / 0.5642 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.3911, allocations: 7.984 kB / 0.5642 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.3912, allocations: 11.92 kB / 0.5642 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.3912, allocations: 0 / 0.5642 GB, free: 300 kB / 398.1 MB Notification: Performance of sorting global known variables: time 9.727e-05/0.3913, allocations: 113.6 kB / 0.5643 GB, free: 188 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3913, allocations: 0 / 0.5643 GB, free: 188 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.3916, allocations: 51.8 kB / 0.5644 GB, free: 136 kB / 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 (7): * Single equations (assignments): 7 * 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.001908/0.3935, allocations: 0.5196 MB / 0.5649 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003221/0.3938, allocations: 99.84 kB / 0.565 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3938, allocations: 0 / 0.565 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.394, allocations: 43.97 kB / 0.565 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.3943, allocations: 15.98 kB / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.3948, allocations: 217.8 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.825e-05/0.3949, allocations: 95.59 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.768e-05/0.395, allocations: 20.95 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.3951, allocations: 19.42 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3951, allocations: 0 / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Templates: time 0.00544/0.4005, allocations: 1.998 MB / 0.5673 GB, free: 13.29 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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: 5.280808765441179]