Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001504/0.001504, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0012/0.0012, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9776/0.9776, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2409/0.2409, allocations: 32.8 MB / 294.6 MB, free: 1.125 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.041e-05, allocations: 7.672 kB / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003369/0.003399, allocations: 1.707 MB / 325 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.004603, allocations: 0.5879 MB / 325.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.004675, allocations: 4 kB / 325.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000945/0.00562, allocations: 451 kB / 326 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005731/0.006193, allocations: 299.2 kB / 326.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.006674, allocations: 171.5 kB / 326.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.006956, allocations: 187.5 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.007063, allocations: 16.84 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.007251, allocations: 131.7 kB / 326.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.007495, allocations: 203.6 kB / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.007518, allocations: 4 kB / 327 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.007637, allocations: 47.92 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.007749, allocations: 87.7 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.007803, allocations: 43.73 kB / 327.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.008126, allocations: 223 kB / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.00813, allocations: 0 / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.008132, allocations: 4 kB / 327.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.008138, allocations: 0 / 327.4 MB, free: 5.527 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.0006713/0.00881, allocations: 0.5578 MB / 327.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.008851, allocations: 8.031 kB / 327.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.008915, allocations: 28.91 kB / 328 MB, free: 4.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.009179, allocations: 246 kB / 328.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.009191, allocations: 4.375 kB / 328.2 MB, free: 4.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.009215, allocations: 4.375 kB / 328.2 MB, free: 4.637 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.009355, allocations: 66.88 kB / 328.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.009367, allocations: 192 / 328.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.009378, allocations: 8.125 kB / 328.3 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.009383, allocations: 0 / 328.3 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/0.009426, allocations: 15.92 kB / 328.3 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.009827, allocations: 218.9 kB / 328.5 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.01001, allocations: 34.56 kB / 328.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.01004, allocations: 8.859 kB / 328.6 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.01006, allocations: 4 kB / 328.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.0101, allocations: 38.48 kB / 328.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 3.436e-06/0.0101, allocations: 4 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008303/0.01093, allocations: 230.6 kB / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.01097, allocations: 51.41 kB / 328.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000503/0.01148, allocations: 0.536 MB / 329.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.01149, allocations: 25.7 kB / 329.4 MB, free: 3.324 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.01158, allocations: 145.3 kB / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.01162, allocations: 31.7 kB / 329.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.01168, allocations: 33.69 kB / 329.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.0118, allocations: 358.6 kB / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.151e-05/0.01183, allocations: 11.98 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.481e-05/0.01186, allocations: 17.25 kB / 330 MB, free: 2.719 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.905e-05/0.01193, allocations: 39.59 kB / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.01193, allocations: 0 / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001334/0.01207, allocations: 87.41 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.01208, allocations: 4 kB / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01209, allocations: 0 / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.0121, allocations: 0 / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.01219, allocations: 27.98 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.0122, allocations: 3.984 kB / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.01225, allocations: 4 kB / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.01226, allocations: 0 / 330.2 MB, free: 2.547 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 0.0001068/0.01236, allocations: 124.5 kB / 330.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.01241, allocations: 23.97 kB / 330.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.01263, allocations: 121.4 kB / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01263, allocations: 0 / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.01264, allocations: 0 / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.01264, allocations: 0 / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.01314, allocations: 344.1 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.01315, allocations: 3.984 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.249e-05/0.01324, allocations: 24.17 kB / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.01324, allocations: 0 / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.01326, allocations: 12 kB / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01326, allocations: 0 / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.01327, allocations: 7.922 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.01346, allocations: 190.6 kB / 331 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.01351, allocations: 43.64 kB / 331.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.01353, allocations: 8.062 kB / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.01363, allocations: 4 kB / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.01367, allocations: 15.92 kB / 331.1 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.01369, allocations: 4 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002858/0.01398, allocations: 295.2 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01398, allocations: 0 / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000278/0.01425, allocations: 39.83 kB / 331.4 MB, free: 1.242 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.001741/0.01599, allocations: 0.5673 MB / 332 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.01613, allocations: 48.78 kB / 332 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.01614, allocations: 8 kB / 332 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.109e-05/0.0162, allocations: 28.78 kB / 332.1 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.01648, allocations: 41.66 kB / 332.1 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/0.01736, allocations: 0.6274 MB / 332.7 MB, free: 184 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.01746, allocations: 127.2 kB / 332.9 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.777e-05/0.01751, allocations: 12.48 kB / 332.9 MB, free: 24 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.01761, allocations: 67.36 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.01761, allocations: 7.938 kB / 333 MB, free: 15.95 MB / 314.7 MB Notification: Performance of Templates: time 0.004907/0.02251, allocations: 1.922 MB / 334.9 MB, free: 14.04 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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: 3.0051489593461156]