Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.0009234/0.0009234, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001084/0.001084, allocations: 171.3 kB / 24.91 MB, free: 9.188 MB / 18.57 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.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2551/0.2551, allocations: 34.28 MB / 296.1 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.529e-05, allocations: 3.516 kB / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003607/0.003633, allocations: 1.745 MB / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.004745, allocations: 0.549 MB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.004813, allocations: 0 / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006306/0.005444, allocations: 455.1 kB / 328.1 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005208/0.005965, allocations: 295.1 kB / 328.3 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.006338, allocations: 127.6 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.006633, allocations: 179.6 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.006735, allocations: 12.48 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.006922, allocations: 115.8 kB / 328.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.007155, allocations: 203.6 kB / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.007175, allocations: 4 kB / 329 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.007276, allocations: 43.91 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.007381, allocations: 75.72 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.007425, allocations: 35.75 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.007705, allocations: 203.1 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.00771, allocations: 0 / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007711, allocations: 0 / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.007717, allocations: 0 / 329.3 MB, free: 3.578 MB / 298.7 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.0005899/0.008307, allocations: 0.554 MB / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.008344, allocations: 12.03 kB / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.008399, allocations: 24.91 kB / 329.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.00865, allocations: 246 kB / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.008663, allocations: 8.375 kB / 330.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.008681, allocations: 384 / 330.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.008804, allocations: 62.92 kB / 330.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.008816, allocations: 192 / 330.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.008828, allocations: 8.125 kB / 330.2 MB, free: 2.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.008834, allocations: 0 / 330.2 MB, free: 2.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.184e-05/0.008865, allocations: 11.98 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.009133, allocations: 164.2 kB / 330.4 MB, free: 2.426 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.52e-05/0.009198, allocations: 26.56 kB / 330.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.009218, allocations: 8.859 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.009238, allocations: 8 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.009263, allocations: 34.5 kB / 330.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.009264, allocations: 0 / 330.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004131/0.009678, allocations: 125.5 kB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.009711, allocations: 51.41 kB / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/0.01019, allocations: 0.5323 MB / 331.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.01021, allocations: 29.7 kB / 331.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.01029, allocations: 145.3 kB / 331.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.01032, allocations: 27.72 kB / 331.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.01036, allocations: 25.7 kB / 331.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.0105, allocations: 354.7 kB / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.01052, allocations: 4 kB / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/0.01054, allocations: 11.98 kB / 331.8 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.01058, allocations: 20.84 kB / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01058, allocations: 0 / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000107/0.01069, allocations: 73.59 kB / 331.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01071, allocations: 4 kB / 331.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01071, allocations: 7.938 kB / 331.9 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.01072, allocations: 0 / 331.9 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.481e-05/0.01082, allocations: 23.92 kB / 331.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.01082, allocations: 4.312 kB / 331.9 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.01087, allocations: 4 kB / 331.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.01087, allocations: 288 / 331.9 MB, free: 0.8281 MB / 298.7 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.187e-05/0.01097, allocations: 120.6 kB / 332 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.01101, allocations: 23.92 kB / 332 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.01118, allocations: 105.5 kB / 332.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.01118, allocations: 4 kB / 332.2 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01118, allocations: 0 / 332.2 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01118, allocations: 3.938 kB / 332.2 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.01152, allocations: 282.6 kB / 332.4 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01152, allocations: 0 / 332.4 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.717e-05/0.01159, allocations: 15.98 kB / 332.5 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01159, allocations: 0 / 332.5 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.0116, allocations: 3.984 kB / 332.5 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.0116, allocations: 0 / 332.5 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.0116, allocations: 0 / 332.5 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.01174, allocations: 179.4 kB / 332.6 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.01177, allocations: 35.67 kB / 332.7 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.0118, allocations: 4 kB / 332.7 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.01187, allocations: 3.984 kB / 332.7 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.0119, allocations: 4 kB / 332.7 MB, free: 0 / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.01193, allocations: 4.078 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002807/0.01221, allocations: 287.1 kB / 333 MB, free: 15.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.01221, allocations: 0 / 333 MB, free: 15.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002437/0.01245, allocations: 24 kB / 333 MB, free: 15.69 MB / 314.7 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.001547/0.014, allocations: 0.5042 MB / 333.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.633e-05/0.0141, allocations: 36.77 kB / 333.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/0.01411, allocations: 4 kB / 333.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.914e-05/0.01414, allocations: 16.86 kB / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.01441, allocations: 38.12 kB / 333.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008455/0.01526, allocations: 0.5946 MB / 334.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.01536, allocations: 115.2 kB / 334.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.88e-05/0.01541, allocations: 12 kB / 334.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.01548, allocations: 63.36 kB / 334.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01548, allocations: 0 / 334.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of Templates: time 0.005541/0.02102, allocations: 1.555 MB / 335.9 MB, free: 12.96 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.904769060201943]