Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001929/0.001929, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002086/0.002086, allocations: 165.3 kB / 24.28 MB, free: 152 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.567/1.567, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3417/0.3417, allocations: 32.8 MB / 293.9 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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.313e-05/3.471e-05, allocations: 2.312 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003305/0.00334, allocations: 1.606 MB / 376.9 MB, free: 3.371 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.004513, allocations: 0.5375 MB / 377.4 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.004571, allocations: 4 kB / 377.4 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.004809, allocations: 27.78 kB / 377.5 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.005109, allocations: 79.61 kB / 377.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.00543, allocations: 107.6 kB / 377.6 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.005599, allocations: 71.77 kB / 377.7 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.005703, allocations: 11.98 kB / 377.7 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.005782, allocations: 31.84 kB / 377.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.005839, allocations: 15.98 kB / 377.8 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.005858, allocations: 8 kB / 377.8 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.278e-05/0.005941, allocations: 35.86 kB / 377.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.005993, allocations: 11.98 kB / 377.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.006028, allocations: 11.94 kB / 377.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.006227, allocations: 83.7 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.006233, allocations: 4 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.006235, allocations: 0 / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.006239, allocations: 0 / 377.9 MB, free: 2.332 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005942/0.006833, allocations: 423.7 kB / 378.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.006869, allocations: 11.97 kB / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.006917, allocations: 12.89 kB / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.007124, allocations: 136.5 kB / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.007133, allocations: 384 / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.007153, allocations: 4.375 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.007284, allocations: 42.25 kB / 378.5 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.007294, allocations: 192 / 378.5 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.007308, allocations: 8.125 kB / 378.5 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.007316, allocations: 3.984 kB / 378.5 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.988e-05/0.007395, allocations: 15.98 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.007838, allocations: 283.8 kB / 378.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.008053, allocations: 51.05 kB / 378.9 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.00811, allocations: 19.77 kB / 378.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.008131, allocations: 7.938 kB / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.008162, allocations: 33.39 kB / 378.9 MB, free: 1.172 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.008163, allocations: 0 / 378.9 MB, free: 1.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005397/0.008702, allocations: 129.4 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.008749, allocations: 51.41 kB / 379.1 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.008953, allocations: 220.8 kB / 379.3 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.008975, allocations: 29.7 kB / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.009074, allocations: 146.9 kB / 379.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.009101, allocations: 19.83 kB / 379.5 MB, free: 0.543 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.009155, allocations: 31.36 kB / 379.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002866/0.009441, allocations: 0.4925 MB / 380.1 MB, free: 16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.009502, allocations: 11.98 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-05/0.009552, allocations: 19.92 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.009668, allocations: 43.61 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.009669, allocations: 0 / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001761/0.009845, allocations: 77.83 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.009862, allocations: 4 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.009866, allocations: 3.938 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.009883, allocations: 7.984 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.009943, allocations: 8 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.009948, allocations: 0 / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.009979, allocations: 0 / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.009985, allocations: 4 kB / 380.2 MB, free: 15.81 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 0.0001245/0.01011, allocations: 168.5 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.01015, allocations: 11.91 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.01039, allocations: 82.14 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.01039, allocations: 0 / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.0104, allocations: 0 / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.0104, allocations: 0 / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.01089, allocations: 349.3 kB / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01089, allocations: 0 / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/0.01095, allocations: 8 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01095, allocations: 0 / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01096, allocations: 7.984 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01096, allocations: 4 kB / 380.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01096, allocations: 0 / 380.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.01123, allocations: 227.8 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.01125, allocations: 7.938 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.01128, allocations: 256 / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.01136, allocations: 4 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.0114, allocations: 4 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.01141, allocations: 7.984 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.01154, allocations: 159.1 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01154, allocations: 4 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.01178, allocations: 19.94 kB / 381.3 MB, free: 14.69 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.003304/0.01508, allocations: 430.7 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.01538, allocations: 47.59 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.01539, allocations: 4 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.01547, allocations: 23.67 kB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.01584, allocations: 19.97 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.01636, allocations: 190.8 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.759e-05/0.01646, allocations: 87.25 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.846e-05/0.01652, allocations: 19.97 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.01656, allocations: 12.5 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01656, allocations: 0 / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Templates: time 0.004348/0.02091, allocations: 1.173 MB / 383.3 MB, free: 12.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.848160914960317]