Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001064/0.001064, allocations: 80.92 kB / 21.5 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.001034/0.001034, allocations: 170.4 kB / 24.91 MB, free: 8.773 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 0.9406/0.9406, allocations: 177.1 MB / 205.3 MB, free: 5.129 MB / 186.7 MB " [Timeout remaining time 179] 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.2481/0.2481, allocations: 32.81 MB / 294.6 MB, free: 1.191 MB / 266.7 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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.914e-05, allocations: 6.906 kB / 323.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.006396/0.006415, allocations: 1.705 MB / 325 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007935/0.007209, allocations: 0.5528 MB / 325.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.007255, allocations: 0 / 325.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.007446, allocations: 47.8 kB / 325.6 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.00766, allocations: 91.55 kB / 325.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.007873, allocations: 139.5 kB / 325.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.007986, allocations: 83.75 kB / 325.9 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.898e-05/0.008055, allocations: 16.84 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.008119, allocations: 43.83 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.008189, allocations: 31.91 kB / 326 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.008202, allocations: 4 kB / 326 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.344e-05/0.008286, allocations: 51.91 kB / 326 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.008342, allocations: 23.92 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.008363, allocations: 23.91 kB / 326.1 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.008491, allocations: 91.66 kB / 326.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-06/0.008493, allocations: 4 kB / 326.2 MB, free: 6.785 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.008493, allocations: 0 / 326.2 MB, free: 6.785 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.545e-06/0.008496, allocations: 0 / 326.2 MB, free: 6.785 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000276/0.008772, allocations: 305.5 kB / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.696e-05/0.008799, allocations: 8.031 kB / 326.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.008824, allocations: 12.92 kB / 326.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.008926, allocations: 138.2 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.072e-06/0.008932, allocations: 384 / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.008946, allocations: 4.375 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.877e-05/0.009025, allocations: 70.62 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.009032, allocations: 4 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.009039, allocations: 4 kB / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-06/0.009041, allocations: 4 kB / 326.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.009063, allocations: 11.98 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.009258, allocations: 172.2 kB / 326.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.009376, allocations: 46.48 kB / 326.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.009391, allocations: 12.84 kB / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.009404, allocations: 0 / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.00942, allocations: 34.56 kB / 327 MB, free: 5.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.11e-07/0.009421, allocations: 4 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004197/0.009841, allocations: 214.2 kB / 327.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.009865, allocations: 51.41 kB / 327.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.009953, allocations: 163.5 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.009965, allocations: 29.7 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/0.009994, allocations: 96.05 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.01002, allocations: 35.7 kB / 327.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.01004, allocations: 29.69 kB / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.633e-05/0.01011, allocations: 326.8 kB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.01012, allocations: 8 kB / 327.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.617e-05/0.01014, allocations: 11.98 kB / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.01018, allocations: 37.81 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.01018, allocations: 0 / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001127/0.01029, allocations: 71.3 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.0103, allocations: 8 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.01031, allocations: 0 / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.01032, allocations: 3.984 kB / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.25e-05/0.01037, allocations: 27.98 kB / 328.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.01037, allocations: 0 / 328.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.01039, allocations: 4 kB / 328.1 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.0104, allocations: 4 kB / 328.1 MB, free: 4.719 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 (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 4.974e-05/0.01045, allocations: 120.5 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.01047, allocations: 11.98 kB / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.01057, allocations: 82.95 kB / 328.3 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01057, allocations: 4 kB / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.01057, allocations: 0 / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01057, allocations: 4 kB / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.01081, allocations: 284.2 kB / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01081, allocations: 8 kB / 328.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.01085, allocations: 19.98 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01085, allocations: 0 / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.01086, allocations: 11.98 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01086, allocations: 0 / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01086, allocations: 3.938 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.057e-05/0.01095, allocations: 174.6 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.01096, allocations: 12.02 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.01097, allocations: 7.984 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.01101, allocations: 4 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.01104, allocations: 15.92 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.01104, allocations: 0 / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.787e-05/0.01108, allocations: 46.08 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01108, allocations: 0 / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.01122, allocations: 27.89 kB / 328.9 MB, free: 3.828 MB / 298.7 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.001099/0.01232, allocations: 0.578 MB / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.085e-05/0.0124, allocations: 48.77 kB / 329.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.01241, allocations: 8 kB / 329.5 MB, free: 3.492 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.764e-05/0.01244, allocations: 28.91 kB / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.01262, allocations: 27.97 kB / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.01293, allocations: 251 kB / 329.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.849e-05/0.01297, allocations: 67.34 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.658e-05/0.013, allocations: 16.48 kB / 329.9 MB, free: 3.055 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.01307, allocations: 63.36 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of SimCode: time 4.7e-07/0.01307, allocations: 0 / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of Templates: time 0.003146/0.01621, allocations: 1.675 MB / 331.6 MB, free: 1.332 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.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.7745293229818344]