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.001025/0.001025, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009949/0.0009949, allocations: 161.4 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.011/1.011, allocations: 177.1 MB / 205 MB, free: 5.629 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.2689/0.2689, allocations: 34.26 MB / 295.7 MB, free: 0.75 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 2.545e-06/2.545e-06, allocations: 0 / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.771e-05, allocations: 2.312 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003807/0.003835, allocations: 1.717 MB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.005111, allocations: 0.5764 MB / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.53e-05/0.005207, allocations: 4 kB / 380.4 MB, free: 312 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007614/0.005968, allocations: 455 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006113/0.006579, allocations: 303.1 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.007084, allocations: 171.6 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.007385, allocations: 183.6 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.007531, allocations: 16.2 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.007711, allocations: 119.8 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.008021, allocations: 247.6 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.00805, allocations: 4 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.008183, allocations: 51.86 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.008305, allocations: 91.64 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.149e-05/0.008366, allocations: 35.75 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.008701, allocations: 211.1 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.008704, allocations: 3.938 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.008705, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.008713, allocations: 4 kB / 382.2 MB, free: 14.44 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.0008459/0.009558, allocations: 0.7009 MB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.009612, allocations: 12.03 kB / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.293e-05/0.009705, allocations: 52.59 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.009991, allocations: 248.8 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.01001, allocations: 4.375 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.01004, allocations: 384 / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.01021, allocations: 62.94 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.01022, allocations: 192 / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.01024, allocations: 12.12 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.01025, allocations: 0 / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.017e-05/0.01031, allocations: 15.94 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.01096, allocations: 435.6 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.95e-05/0.01106, allocations: 51 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.01109, allocations: 15.69 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.01112, allocations: 0 / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.01115, allocations: 37.39 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.01115, allocations: 0 / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008483/0.012, allocations: 264.6 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.01204, allocations: 55.41 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007211/0.01276, allocations: 0.6316 MB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.01277, allocations: 29.64 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.01299, allocations: 278.8 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.01303, allocations: 35.67 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.01308, allocations: 27.38 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.01333, allocations: 0.5586 MB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.01337, allocations: 8 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.273e-05/0.0134, allocations: 15.98 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.296e-05/0.01349, allocations: 31.69 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01349, allocations: 4 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001757/0.01366, allocations: 109.4 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.01368, allocations: 4 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01368, allocations: 0 / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.0137, allocations: 0 / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.01381, allocations: 23.92 kB / 385.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.01382, allocations: 0 / 385.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.01386, allocations: 0 / 385.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.01387, allocations: 8 kB / 385.9 MB, free: 10.54 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 0.0001187/0.01399, allocations: 164.5 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.01406, allocations: 55.67 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004394/0.0145, allocations: 109.5 kB / 386.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.0145, allocations: 0 / 386.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.01451, allocations: 3.984 kB / 386.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.01451, allocations: 0 / 386.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000634/0.01515, allocations: 0.5047 MB / 386.7 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.01515, allocations: 0 / 386.7 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.01522, allocations: 19.98 kB / 386.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01523, allocations: 4.031 kB / 386.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01524, allocations: 0 / 386.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.01524, allocations: 4.469 kB / 386.8 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.01525, allocations: 3.938 kB / 386.8 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.01548, allocations: 275.2 kB / 387 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.01553, allocations: 35.72 kB / 387.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.01556, allocations: 0 / 387.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.01564, allocations: 4 kB / 387.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.01568, allocations: 11.92 kB / 387.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.01569, allocations: 4 kB / 387.1 MB, free: 9.258 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004336/0.01613, allocations: 430.8 kB / 387.5 MB, free: 8.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01613, allocations: 7.938 kB / 387.5 MB, free: 8.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003161/0.01644, allocations: 24 kB / 387.5 MB, free: 8.809 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.001377/0.01782, allocations: 431.1 kB / 388 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.01799, allocations: 51.58 kB / 388 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01799, allocations: 0 / 388 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.355e-05/0.01804, allocations: 27.62 kB / 388 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.01843, allocations: 29.95 kB / 388.1 MB, free: 8.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009788/0.01941, allocations: 0.6196 MB / 388.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.01953, allocations: 123.2 kB / 388.8 MB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.587e-05/0.01961, allocations: 21.02 kB / 388.8 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.01965, allocations: 12.5 kB / 388.8 MB, free: 7.605 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01965, allocations: 0 / 388.8 MB, free: 7.605 MB / 362.7 MB Notification: Performance of Templates: time 0.005922/0.02558, allocations: 1.65 MB / 390.5 MB, free: 5.965 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.407493666280061]