Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001196/0.001196, allocations: 79.59 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.001222/0.001222, allocations: 161 kB / 24.56 MB, free: 12 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.037/1.037, allocations: 177.1 MB / 205 MB, free: 5.641 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.258/0.258, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.735e-05, allocations: 2.312 kB / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002769/0.002796, allocations: 1.722 MB / 379.8 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000957/0.003753, allocations: 0.5492 MB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.01e-05/0.003824, allocations: 4 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.004394, allocations: 455 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005218/0.004916, allocations: 291.2 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.005254, allocations: 131.6 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.00549, allocations: 183.6 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.005587, allocations: 8 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.005718, allocations: 123.8 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.005946, allocations: 243.6 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.005966, allocations: 4 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.006077, allocations: 55.84 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.006242, allocations: 83.7 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.006286, allocations: 39.73 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.006555, allocations: 207.1 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.006558, allocations: 0 / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.006559, allocations: 4 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.006564, allocations: 0 / 382.1 MB, free: 14.54 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.0006275/0.007192, allocations: 0.7008 MB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.00723, allocations: 12.03 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.724e-05/0.007297, allocations: 44.66 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.007518, allocations: 248.8 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.007531, allocations: 8.375 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.007557, allocations: 384 / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.007689, allocations: 62.94 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.0077, allocations: 4.125 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.007711, allocations: 12.12 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.007718, allocations: 0 / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.144e-05/0.00776, allocations: 15.98 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.00837, allocations: 431.6 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.008453, allocations: 51 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.008478, allocations: 11.69 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.008503, allocations: 4 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.008526, allocations: 37.33 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.008527, allocations: 0 / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006642/0.009191, allocations: 256.7 kB / 384 MB, free: 12.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.00922, allocations: 59.34 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.009739, allocations: 0.6316 MB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.009752, allocations: 25.7 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.009922, allocations: 290.7 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.009953, allocations: 27.73 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.009999, allocations: 27.38 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.01017, allocations: 0.5547 MB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.0102, allocations: 11.98 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/0.01022, allocations: 7.984 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.01028, allocations: 35.67 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01028, allocations: 8 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001361/0.01042, allocations: 105.3 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.01044, allocations: 12 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01044, allocations: 0 / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.01046, allocations: 0 / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.285e-05/0.01055, allocations: 15.98 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01056, allocations: 0 / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.01059, allocations: 4 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.0106, allocations: 8 kB / 385.8 MB, free: 10.64 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 8.319e-05/0.01068, allocations: 156.5 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.01074, allocations: 47.72 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.01092, allocations: 117.5 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.01093, allocations: 4 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.01093, allocations: 0 / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01094, allocations: 0 / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.01142, allocations: 0.5008 MB / 386.6 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01142, allocations: 4 kB / 386.6 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/0.01147, allocations: 15.98 kB / 386.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01148, allocations: 0 / 386.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.01149, allocations: 4 kB / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.01149, allocations: 8.5 kB / 386.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01149, allocations: 3.938 kB / 386.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.01166, allocations: 275.2 kB / 386.9 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.0117, allocations: 31.72 kB / 387 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.01172, allocations: 3.984 kB / 387 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.01178, allocations: 8 kB / 387 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.01182, allocations: 11.92 kB / 387 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.01182, allocations: 0 / 387 MB, free: 9.375 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000578/0.0124, allocations: 426.8 kB / 387.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.0124, allocations: 0 / 387.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002701/0.01267, allocations: 31.92 kB / 387.4 MB, free: 8.93 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.001121/0.01379, allocations: 439.8 kB / 387.9 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.01393, allocations: 39.61 kB / 387.9 MB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01393, allocations: 4 kB / 387.9 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.01397, allocations: 27.61 kB / 387.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.01431, allocations: 25.95 kB / 388 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.01509, allocations: 0.6056 MB / 388.6 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.577e-05/0.01518, allocations: 119.3 kB / 388.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.662e-05/0.01523, allocations: 21.02 kB / 388.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.01527, allocations: 12.5 kB / 388.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01527, allocations: 0 / 388.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of Templates: time 0.004743/0.02001, allocations: 1.624 MB / 390.3 MB, free: 6.133 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.3039650693535805]