Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.0009312/0.0009312, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009637/0.0009637, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.9453/0.9453, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2375/0.2375, allocations: 32.8 MB / 294.6 MB, free: 1.164 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 376.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.715e-05, allocations: 9.203 kB / 376.5 MB, free: 4.332 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.001913/0.00193, allocations: 1.7 MB / 378.2 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007414/0.002671, allocations: 0.5607 MB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.002725, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.003128, allocations: 459 kB / 379.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.003442, allocations: 299.2 kB / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.003712, allocations: 175.5 kB / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.003878, allocations: 179.6 kB / 379.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.883e-05/0.003956, allocations: 20.2 kB / 379.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.645e-05/0.004053, allocations: 123.7 kB / 380 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.00422, allocations: 243.6 kB / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.004235, allocations: 4 kB / 380.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.004309, allocations: 51.92 kB / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.004377, allocations: 87.7 kB / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.004408, allocations: 39.73 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.004587, allocations: 211 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004589, allocations: 0 / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004589, allocations: 0 / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.004592, allocations: 0 / 380.6 MB, free: 196 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.0004522/0.005045, allocations: 0.7128 MB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.005076, allocations: 8.031 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.005119, allocations: 48.64 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.005271, allocations: 256.8 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.005279, allocations: 4.375 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.005294, allocations: 8.312 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.417e-05/0.005379, allocations: 58.94 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.005387, allocations: 4.188 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-06/0.005394, allocations: 7.938 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.005399, allocations: 0 / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.503e-05/0.005424, allocations: 15.98 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.005703, allocations: 344.2 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.029e-05/0.005754, allocations: 46.98 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.005768, allocations: 11.77 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.005785, allocations: 8 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.005803, allocations: 37.42 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.005804, allocations: 0 / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000401/0.006205, allocations: 185.2 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.006225, allocations: 51.41 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.006574, allocations: 0.6156 MB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.006585, allocations: 25.7 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.006723, allocations: 294.8 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.006747, allocations: 35.72 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.006776, allocations: 27.38 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.006914, allocations: 0.5624 MB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.006929, allocations: 8 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.29e-05/0.006942, allocations: 4 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.006978, allocations: 35.84 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.006979, allocations: 0 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.699e-05/0.007066, allocations: 109.4 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.007077, allocations: 4 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.00708, allocations: 0 / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.007089, allocations: 0 / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/0.007144, allocations: 19.98 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.007147, allocations: 4 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.00717, allocations: 0 / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.007176, allocations: 8 kB / 384.2 MB, free: 12.46 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 (8): * Single equations (assignments): 8 * 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 6.719e-05/0.007243, allocations: 160.5 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.007276, allocations: 51.61 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.007451, allocations: 109.5 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.007453, allocations: 432 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.007454, allocations: 4 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.007457, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.00777, allocations: 433.4 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007771, allocations: 4 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.007814, allocations: 12 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.007817, allocations: 7.922 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.007825, allocations: 12 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.007828, allocations: 3.984 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007829, allocations: 0 / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.00795, allocations: 263.2 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.007972, allocations: 39.75 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.007987, allocations: 4 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.219e-05/0.008029, allocations: 4 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.008052, allocations: 11.92 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.008056, allocations: 0 / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002172/0.008273, allocations: 398.7 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008273, allocations: 3.938 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001624/0.008436, allocations: 27.98 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0007584/0.009194, allocations: 436.3 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.0093, allocations: 35.67 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.009301, allocations: 0 / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.009327, allocations: 31.61 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.009543, allocations: 29.58 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.01005, allocations: 0.6093 MB / 386.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.858e-05/0.01012, allocations: 127.2 kB / 386.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.536e-05/0.01016, allocations: 21.02 kB / 386.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.01027, allocations: 82.2 kB / 387 MB, free: 9.602 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01027, allocations: 3.938 kB / 387 MB, free: 9.598 MB / 362.7 MB Notification: Performance of Templates: time 0.003683/0.01396, allocations: 1.787 MB / 388.8 MB, free: 7.824 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.909199188929051]