Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001399/0.001399, 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.001565/0.001565, allocations: 211.7 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.57/1.57, 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.2283/0.2283, allocations: 44.94 MB / 358.8 MB, free: 6.062 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [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.002459/0.002459, allocations: 67.91 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3724, allocations: 65.47 MB / 0.5575 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003609/0.376, allocations: 1.645 MB / 0.5591 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.3783, allocations: 1.236 MB / 0.5603 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.3784, allocations: 4 kB / 0.5603 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.3786, allocations: 19.84 kB / 0.5603 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004855/0.3791, allocations: 87.56 kB / 0.5604 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.3795, allocations: 135.3 kB / 0.5605 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.3797, allocations: 83.7 kB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3799, allocations: 11.98 kB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.156e-05/0.3799, allocations: 23.92 kB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.3801, allocations: 35.77 kB / 0.5607 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.3801, allocations: 8 kB / 0.5607 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.3803, allocations: 95.81 kB / 0.5608 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.3804, allocations: 19.98 kB / 0.5608 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.3804, allocations: 15.88 kB / 0.5608 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003824/0.3808, allocations: 149.8 kB / 0.5609 GB, free: 3.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3808, allocations: 4 kB / 0.561 GB, free: 3.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3808, allocations: 0 / 0.561 GB, free: 3.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3808, allocations: 0 / 0.561 GB, free: 3.926 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.0006297/0.3815, allocations: 337.6 kB / 0.5613 GB, free: 3.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3815, allocations: 12.03 kB / 0.5613 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.3816, allocations: 8.891 kB / 0.5613 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.3818, allocations: 141.2 kB / 0.5614 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3818, allocations: 384 / 0.5614 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.3819, allocations: 4.375 kB / 0.5614 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.3821, allocations: 101.2 kB / 0.5615 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3821, allocations: 4 kB / 0.5615 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3821, allocations: 0 / 0.5615 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3821, allocations: 0 / 0.5615 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.3823, allocations: 47.88 kB / 0.5616 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.3827, allocations: 224.5 kB / 0.5618 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.3829, allocations: 50.53 kB / 0.5618 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.845e-05/0.3829, allocations: 28.94 kB / 0.5619 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.383, allocations: 0 / 0.5619 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.383, allocations: 42.5 kB / 0.5619 GB, free: 2.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.383, allocations: 0 / 0.5619 GB, free: 2.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008601/0.3839, allocations: 205.3 kB / 0.5621 GB, free: 2.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.3839, allocations: 85.11 kB / 0.5622 GB, free: 2.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.3841, allocations: 144.6 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.3841, allocations: 29.7 kB / 0.5624 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.3842, allocations: 92.14 kB / 0.5624 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.3842, allocations: 27.8 kB / 0.5625 GB, free: 2.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.3843, allocations: 21.72 kB / 0.5625 GB, free: 2.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3845, allocations: 326.8 kB / 0.5628 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3846, allocations: 31.97 kB / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.3847, allocations: 75.39 kB / 0.5629 GB, free: 1.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.3849, allocations: 72.81 kB / 0.563 GB, free: 1.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3849, allocations: 0 / 0.563 GB, free: 1.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002948/0.3852, allocations: 113.6 kB / 0.5631 GB, free: 1.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3853, allocations: 4 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3853, allocations: 0 / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3853, allocations: 0 / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.3854, allocations: 27.91 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3854, allocations: 0 / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.494e-05/0.3855, allocations: 19.92 kB / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3855, allocations: 3.938 kB / 0.5631 GB, free: 1.492 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 0.0001048/0.3856, allocations: 117.8 kB / 0.5632 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.3856, allocations: 11.95 kB / 0.5633 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.386, allocations: 130.6 kB / 0.5634 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.386, allocations: 0 / 0.5634 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.386, allocations: 0 / 0.5634 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.386, allocations: 0 / 0.5634 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005355/0.3865, allocations: 326.1 kB / 0.5637 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3866, allocations: 8 kB / 0.5637 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.051e-05/0.3866, allocations: 19.92 kB / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3866, allocations: 0 / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3867, allocations: 4 kB / 0.5637 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3867, allocations: 3.984 kB / 0.5637 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3867, allocations: 3.938 kB / 0.5637 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.387, allocations: 211.4 kB / 0.5639 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.387, allocations: 7.953 kB / 0.5639 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.387, allocations: 4 kB / 0.5639 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.3871, allocations: 7.984 kB / 0.564 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.3872, allocations: 11.92 kB / 0.564 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.3872, allocations: 4 kB / 0.564 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.3873, allocations: 113.6 kB / 0.5641 GB, free: 464 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3873, allocations: 3.938 kB / 0.5641 GB, free: 460 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.3876, allocations: 43.88 kB / 0.5641 GB, free: 416 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.00192/0.3895, allocations: 0.5294 MB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.3898, allocations: 79.92 kB / 0.5647 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3898, allocations: 0 / 0.5647 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.39, allocations: 39.91 kB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.3903, allocations: 19.98 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.3909, allocations: 213.8 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.718e-05/0.391, allocations: 79.67 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.026e-05/0.3911, allocations: 11.98 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.3911, allocations: 19.42 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3911, allocations: 0 / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Templates: time 0.005598/0.3967, allocations: 1.971 MB / 0.567 GB, free: 13.64 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.430056665092707]