Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001766/0.001766, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002899/0.002899, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.622/1.622, allocations: 230.6 MB / 258.2 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.2309/0.2309, allocations: 44.93 MB / 359.6 MB, free: 6.062 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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") [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.002097/0.002097, allocations: 71.89 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3458, allocations: 65.47 MB / 0.5582 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.00319/0.349, allocations: 1.664 MB / 0.5598 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3501, allocations: 0.531 MB / 0.5604 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.3501, allocations: 0 / 0.5604 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.3503, allocations: 55.69 kB / 0.5604 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.3507, allocations: 87.61 kB / 0.5605 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.351, allocations: 147.3 kB / 0.5606 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.3512, allocations: 71.83 kB / 0.5607 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3513, allocations: 24.2 kB / 0.5607 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.298e-05/0.3513, allocations: 31.86 kB / 0.5608 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3514, allocations: 51.75 kB / 0.5608 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3515, allocations: 4 kB / 0.5608 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.3516, allocations: 51.98 kB / 0.5609 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.49e-05/0.3517, allocations: 27.84 kB / 0.5609 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.3517, allocations: 27.86 kB / 0.5609 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.3519, allocations: 105.9 kB / 0.561 GB, free: 4.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3519, allocations: 3.984 kB / 0.561 GB, free: 4.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3519, allocations: 4 kB / 0.561 GB, free: 4.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3519, allocations: 0 / 0.561 GB, free: 4.453 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.0005632/0.3525, allocations: 337.6 kB / 0.5613 GB, free: 4.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3525, allocations: 12.03 kB / 0.5614 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.3526, allocations: 8.891 kB / 0.5614 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.3528, allocations: 141.7 kB / 0.5615 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3528, allocations: 8.375 kB / 0.5615 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.3528, allocations: 11.94 kB / 0.5615 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.353, allocations: 57.67 kB / 0.5616 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.353, allocations: 3.984 kB / 0.5616 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.353, allocations: 0 / 0.5616 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.353, allocations: 4 kB / 0.5616 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.3531, allocations: 39.91 kB / 0.5616 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.3535, allocations: 248.4 kB / 0.5619 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.3538, allocations: 66.58 kB / 0.5619 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/0.3539, allocations: 24.97 kB / 0.5619 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.3539, allocations: 0 / 0.5619 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3539, allocations: 30.56 kB / 0.562 GB, free: 3.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 7.62e-07/0.3539, allocations: 0 / 0.562 GB, free: 3.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001458/0.3554, allocations: 397 kB / 0.5624 GB, free: 2.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.3554, allocations: 59.34 kB / 0.5624 GB, free: 2.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3556, allocations: 172.1 kB / 0.5626 GB, free: 2.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3556, allocations: 25.7 kB / 0.5626 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.3557, allocations: 100.1 kB / 0.5627 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.3558, allocations: 39.62 kB / 0.5627 GB, free: 2.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.3558, allocations: 25.72 kB / 0.5628 GB, free: 2.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.356, allocations: 322.8 kB / 0.5631 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.3561, allocations: 43.91 kB / 0.5631 GB, free: 2.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.3562, allocations: 47.97 kB / 0.5632 GB, free: 2.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.3565, allocations: 96.8 kB / 0.5632 GB, free: 2.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3565, allocations: 0 / 0.5632 GB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003155/0.3568, allocations: 145.5 kB / 0.5634 GB, free: 1.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3568, allocations: 8 kB / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3568, allocations: 3.984 kB / 0.5634 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3568, allocations: 11.88 kB / 0.5634 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.357, allocations: 27.92 kB / 0.5634 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.357, allocations: 0 / 0.5634 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.357, allocations: 7.984 kB / 0.5634 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.357, allocations: 4 kB / 0.5634 GB, free: 1.801 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.0001059/0.3571, allocations: 121.8 kB / 0.5636 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.3572, allocations: 16.52 kB / 0.5636 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.3576, allocations: 170.6 kB / 0.5637 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.3576, allocations: 7.938 kB / 0.5637 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3576, allocations: 4 kB / 0.5638 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3576, allocations: 0 / 0.5638 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.3582, allocations: 399.8 kB / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3582, allocations: 0 / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.3584, allocations: 31.91 kB / 0.5642 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3584, allocations: 4 kB / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.3584, allocations: 0 / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3584, allocations: 0 / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3584, allocations: 4 kB / 0.5642 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.3588, allocations: 265.1 kB / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.3588, allocations: 7.953 kB / 0.5644 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3588, allocations: 3.938 kB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3589, allocations: 15.98 kB / 0.5645 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.3589, allocations: 7.984 kB / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.359, allocations: 0 / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.3591, allocations: 138.9 kB / 0.5646 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3591, allocations: 0 / 0.5646 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.3593, allocations: 27.92 kB / 0.5646 GB, free: 0.5195 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.001835/0.3612, allocations: 493.1 kB / 0.5651 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.3615, allocations: 107.8 kB / 0.5652 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3615, allocations: 0 / 0.5652 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.3616, allocations: 59.89 kB / 0.5652 GB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.362, allocations: 24.08 kB / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006349/0.3627, allocations: 297.2 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.705e-05/0.3628, allocations: 96.31 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.3628, allocations: 15.44 kB / 0.5657 GB, free: 15.6 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3628, allocations: 4 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Templates: time 0.004015/0.3668, allocations: 1.929 MB / 0.5675 GB, free: 13.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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: 8.135456311982125]