Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001111/0.001111, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001185/0.001185, allocations: 164.4 kB / 24.99 MB, free: 8.793 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.9798/0.9798, allocations: 177.1 MB / 205.3 MB, free: 5.621 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.2617/0.2617, allocations: 34.26 MB / 296.1 MB, free: 0.7109 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.CombiTable2Dv.Test1,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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 378 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.683e-05, allocations: 2.312 kB / 378 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002054/0.002071, allocations: 1.712 MB / 379.8 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007162/0.002787, allocations: 0.5647 MB / 380.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.002845, allocations: 4 kB / 380.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.003265, allocations: 462.9 kB / 380.8 MB, free: 180 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.003604, allocations: 295.2 kB / 381.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.003912, allocations: 179.4 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.004127, allocations: 179.7 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.004262, allocations: 12.22 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.004397, allocations: 123.8 kB / 381.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.004636, allocations: 243.6 kB / 381.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.00466, allocations: 4 kB / 381.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.00477, allocations: 55.86 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.004883, allocations: 91.62 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.004934, allocations: 35.75 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.005193, allocations: 219.1 kB / 382.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.005196, allocations: 0 / 382.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.005197, allocations: 0 / 382.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.005203, allocations: 0 / 382.2 MB, free: 14.76 MB / 362.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.0006042/0.005807, allocations: 0.7008 MB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.005844, allocations: 16.03 kB / 382.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.005901, allocations: 44.66 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.00609, allocations: 248.8 kB / 383.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.006101, allocations: 4.375 kB / 383.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.00612, allocations: 4.375 kB / 383.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.006232, allocations: 66.88 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.006241, allocations: 192 / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.006251, allocations: 8.125 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.006258, allocations: 3.984 kB / 383.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.43e-05/0.006292, allocations: 11.98 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.006675, allocations: 439.6 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.81e-05/0.006744, allocations: 46.98 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.006766, allocations: 11.78 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.006784, allocations: 3.984 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.006804, allocations: 37.39 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.006805, allocations: 0 / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005767/0.007382, allocations: 268.6 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.007421, allocations: 55.41 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.007876, allocations: 0.6277 MB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.007888, allocations: 25.7 kB / 384.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.008047, allocations: 290.8 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.008075, allocations: 27.75 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.008108, allocations: 31.36 kB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.008247, allocations: 0.5508 MB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/0.008271, allocations: 11.98 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.123e-05/0.008292, allocations: 16 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.008342, allocations: 35.67 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.008343, allocations: 0 / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000102/0.008445, allocations: 113.3 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.008456, allocations: 4 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.00846, allocations: 0 / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.008473, allocations: 4 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/0.00854, allocations: 19.98 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.008545, allocations: 0 / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.008571, allocations: 4 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.008577, allocations: 0 / 385.9 MB, free: 10.86 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 7.721e-05/0.008654, allocations: 164.5 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.008689, allocations: 47.67 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.008838, allocations: 121.4 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.00884, allocations: 0 / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.008843, allocations: 0 / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.008846, allocations: 0 / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.009218, allocations: 0.5048 MB / 386.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.00922, allocations: 0 / 386.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.009257, allocations: 19.98 kB / 386.7 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.009259, allocations: 0 / 386.7 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.009269, allocations: 4 kB / 386.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.009272, allocations: 8.031 kB / 386.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.009275, allocations: 3.938 kB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.009413, allocations: 267.7 kB / 387 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.009436, allocations: 35.72 kB / 387 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.009453, allocations: 3.984 kB / 387 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.01e-05/0.009493, allocations: 8 kB / 387.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.009523, allocations: 12.34 kB / 387.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.009526, allocations: 0 / 387.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002435/0.00977, allocations: 434.7 kB / 387.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00977, allocations: 0 / 387.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.009937, allocations: 24 kB / 387.5 MB, free: 9.133 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.0008515/0.01079, allocations: 439.3 kB / 387.9 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.01089, allocations: 43.61 kB / 388 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01089, allocations: 0 / 388 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.129e-05/0.01093, allocations: 31.59 kB / 388 MB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.01116, allocations: 40.44 kB / 388.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.01177, allocations: 0.604 MB / 388.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.348e-05/0.01184, allocations: 123.2 kB / 388.8 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.553e-05/0.01189, allocations: 29 kB / 388.8 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.01192, allocations: 16.5 kB / 388.8 MB, free: 7.922 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01192, allocations: 0 / 388.8 MB, free: 7.922 MB / 362.7 MB Notification: Performance of Templates: time 0.00477/0.01669, allocations: 1.647 MB / 390.5 MB, free: 6.285 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.2532611850183457]