Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.0009903/0.0009903, allocations: 83.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.001023/0.001023, allocations: 165 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 0.981/0.981, allocations: 177.1 MB / 205 MB, free: 5.609 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.2575/0.2575, allocations: 32.81 MB / 294.3 MB, free: 1.219 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 376 MB, free: 4.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.343e-05, allocations: 5.547 kB / 376 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.00221/0.002233, allocations: 1.685 MB / 377.7 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007728/0.003006, allocations: 0.5764 MB / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.003064, allocations: 0 / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004706/0.003535, allocations: 455 kB / 378.7 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.003937, allocations: 299.2 kB / 379 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.004269, allocations: 167.5 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.004495, allocations: 183.6 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.004589, allocations: 12 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.004696, allocations: 119.8 kB / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.004898, allocations: 251.5 kB / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.004916, allocations: 0 / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.005008, allocations: 31.94 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.00511, allocations: 87.7 kB / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.005161, allocations: 43.69 kB / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.005424, allocations: 199.2 kB / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.005428, allocations: 0 / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005429, allocations: 3.938 kB / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.005435, allocations: 0 / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007252/0.00616, allocations: 0.6932 MB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.006207, allocations: 8.031 kB / 380.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.959e-05/0.006287, allocations: 48.66 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.00654, allocations: 248.8 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.006554, allocations: 4.375 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.006579, allocations: 4.312 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.006744, allocations: 62.95 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.006756, allocations: 192 / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.006767, allocations: 8.062 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.006774, allocations: 0 / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.647e-05/0.006811, allocations: 19.97 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.007245, allocations: 419.6 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.007456, allocations: 54.92 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.007481, allocations: 7.688 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.007504, allocations: 4 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.007528, allocations: 41.39 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.007529, allocations: 0 / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004378/0.007967, allocations: 188.8 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.008005, allocations: 55.39 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.008436, allocations: 0.6316 MB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.008448, allocations: 25.7 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.008586, allocations: 278.8 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.00861, allocations: 23.78 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.00864, allocations: 19.38 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.008802, allocations: 0.5548 MB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.008823, allocations: 11.98 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.008837, allocations: 4 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.118e-05/0.008878, allocations: 31.56 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.008879, allocations: 0 / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001027/0.008982, allocations: 93.66 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.008996, allocations: 4 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.009001, allocations: 0 / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.009015, allocations: 4 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.926e-05/0.009064, allocations: 15.98 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.00907, allocations: 0 / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.009096, allocations: 0 / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.009101, allocations: 8 kB / 383.7 MB, free: 12.77 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 (5): * Single equations (assignments): 5 * 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.452e-05/0.009185, allocations: 160.5 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.009221, allocations: 43.72 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.009365, allocations: 101.2 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.009368, allocations: 0 / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.009371, allocations: 3.938 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.009374, allocations: 0 / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.009711, allocations: 469.3 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.009713, allocations: 4 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.009747, allocations: 15.98 kB / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.00975, allocations: 0 / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.009757, allocations: 0 / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.009759, allocations: 0 / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.00976, allocations: 0 / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.009885, allocations: 243.6 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.009911, allocations: 39.95 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.00993, allocations: 4 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.009968, allocations: 4 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.01, allocations: 3.984 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.01001, allocations: 4.172 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002661/0.01028, allocations: 438.7 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01028, allocations: 0 / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.01045, allocations: 20 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000875/0.01133, allocations: 397.7 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.01144, allocations: 31.67 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01144, allocations: 0 / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.01146, allocations: 23.62 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.01171, allocations: 28.61 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006345/0.01234, allocations: 0.5785 MB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.278e-05/0.01241, allocations: 123.2 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.134e-05/0.01245, allocations: 15.98 kB / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.01248, allocations: 12.5 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01248, allocations: 0 / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of Templates: time 0.004099/0.01658, allocations: 1.48 MB / 387.9 MB, free: 8.578 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.0719415326602757]