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.001031/0.001031, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001011/0.001011, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.004/1.004, allocations: 177.1 MB / 205 MB, free: 5.281 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.2815/0.2815, allocations: 32.8 MB / 294.3 MB, free: 1.238 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.603e-06/1.603e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.596e-05, allocations: 6.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.0025/0.002526, allocations: 1.72 MB / 377.8 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007906/0.003317, allocations: 0.5803 MB / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.262e-05/0.003379, allocations: 0 / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.003837, allocations: 459.1 kB / 378.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.004241, allocations: 303.1 kB / 379.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.004606, allocations: 171.5 kB / 379.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.00484, allocations: 191.5 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.004939, allocations: 8.234 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.005058, allocations: 131.8 kB / 379.6 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.005249, allocations: 247.6 kB / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.005268, allocations: 4 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.005369, allocations: 47.92 kB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.771e-05/0.005457, allocations: 91.64 kB / 380 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.0055, allocations: 39.73 kB / 380 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.005737, allocations: 215.1 kB / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.005742, allocations: 0 / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.005743, allocations: 4 kB / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.005748, allocations: 0 / 380.2 MB, free: 464 kB / 346.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.0005655/0.006314, allocations: 0.7086 MB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.006349, allocations: 8.031 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.877e-05/0.006418, allocations: 56.61 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.006617, allocations: 252.8 kB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.006627, allocations: 384 / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.006649, allocations: 4.375 kB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.006792, allocations: 70.94 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.006804, allocations: 4.172 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.006814, allocations: 8.125 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.00682, allocations: 0 / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.006858, allocations: 11.94 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.007281, allocations: 439.6 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.007463, allocations: 55.08 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.007489, allocations: 19.61 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.007509, allocations: 4.109 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.00753, allocations: 37.39 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.007531, allocations: 4 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006522/0.008183, allocations: 324.9 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.008215, allocations: 55.41 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.008598, allocations: 0.6315 MB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.008614, allocations: 29.7 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.008752, allocations: 286.8 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.008783, allocations: 47.61 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.008819, allocations: 31.38 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004042/0.009224, allocations: 0.5586 MB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.213e-05/0.009256, allocations: 12 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-05/0.009284, allocations: 19.98 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.519e-05/0.009349, allocations: 43.67 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.00935, allocations: 0 / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001331/0.009483, allocations: 133.6 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.009499, allocations: 10.66 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.009504, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.00952, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.962e-05/0.009609, allocations: 31.92 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.009615, allocations: 0 / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.00965, allocations: 11.98 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.009657, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.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 8.3e-05/0.00974, allocations: 164.5 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.009776, allocations: 43.72 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.009964, allocations: 145.4 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.009967, allocations: 4 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.00997, allocations: 0 / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.009973, allocations: 0 / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.0104, allocations: 0.5473 MB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.0104, allocations: 0 / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.367e-05/0.01046, allocations: 23.98 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01046, allocations: 0 / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.01047, allocations: 4 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.01047, allocations: 3.938 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01047, allocations: 0 / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.01064, allocations: 298.9 kB / 385.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.01067, allocations: 39.67 kB / 385.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.01069, allocations: 4.062 kB / 385.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.01074, allocations: 15.92 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.01077, allocations: 7.984 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.01078, allocations: 4.125 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.01103, allocations: 430.8 kB / 385.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01103, allocations: 4 kB / 385.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001879/0.01122, allocations: 31.94 kB / 385.8 MB, free: 10.53 MB / 362.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.0009075/0.01213, allocations: 428.3 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.01227, allocations: 67.59 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01228, allocations: 0 / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.235e-05/0.01232, allocations: 43.61 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.01259, allocations: 30.45 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007058/0.01329, allocations: 0.648 MB / 387 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.295e-05/0.01337, allocations: 127.2 kB / 387.2 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6e-05/0.01343, allocations: 32.45 kB / 387.2 MB, free: 9.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.01347, allocations: 16.5 kB / 387.2 MB, free: 9.246 MB / 362.7 MB Notification: Performance of SimCode: time 1.793e-06/0.01347, allocations: 0 / 387.2 MB, free: 9.246 MB / 362.7 MB Notification: Performance of Templates: time 0.004573/0.01804, allocations: 1.955 MB / 389.2 MB, free: 7.305 MB / 362.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.1397076062858105]