Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001321/0.001321, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001598/0.001598, allocations: 167.3 kB / 24.91 MB, free: 9.156 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 1.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2948/0.2948, allocations: 32.8 MB / 294.6 MB, free: 1.234 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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/1.998e-05, allocations: 6.25 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002447/0.002467, allocations: 1.724 MB / 325 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000801/0.003268, allocations: 0.5413 MB / 325.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.003326, allocations: 7.938 kB / 325.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.00359, allocations: 91.66 kB / 325.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.003836, allocations: 107.5 kB / 325.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.004078, allocations: 103.6 kB / 325.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.004224, allocations: 95.73 kB / 326 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.053e-05/0.004314, allocations: 24.55 kB / 326 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.944e-05/0.004384, allocations: 55.88 kB / 326 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.525e-05/0.004469, allocations: 51.86 kB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.004483, allocations: 11.94 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.152e-05/0.004564, allocations: 39.92 kB / 326.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.004607, allocations: 27.92 kB / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.004633, allocations: 23.86 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.004797, allocations: 103.6 kB / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.0048, allocations: 0 / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004801, allocations: 4 kB / 326.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.004806, allocations: 4 kB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003279/0.005134, allocations: 337.3 kB / 326.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.005163, allocations: 8.031 kB / 326.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.005195, allocations: 16.92 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.005322, allocations: 141.6 kB / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.005331, allocations: 8.375 kB / 326.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.005351, allocations: 4.375 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.641e-05/0.005447, allocations: 71.56 kB / 326.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.005457, allocations: 4.125 kB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.005466, allocations: 12.12 kB / 326.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.005471, allocations: 4 kB / 326.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.703e-05/0.005498, allocations: 15.92 kB / 326.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.005743, allocations: 195 kB / 327.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/0.005804, allocations: 50.47 kB / 327.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.005822, allocations: 16.84 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.005842, allocations: 3.938 kB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.005862, allocations: 34.56 kB / 327.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.005863, allocations: 0 / 327.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004945/0.006358, allocations: 197.4 kB / 327.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.006388, allocations: 51.41 kB / 327.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.006515, allocations: 193.1 kB / 327.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.006526, allocations: 25.7 kB / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.006565, allocations: 100.1 kB / 327.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.006601, allocations: 51.52 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.006642, allocations: 25.7 kB / 327.8 MB, free: 4.922 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.00674, allocations: 330.7 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.00676, allocations: 15.98 kB / 328.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.565e-05/0.006775, allocations: 8 kB / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/0.006827, allocations: 47.33 kB / 328.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.006828, allocations: 0 / 328.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.154e-05/0.00691, allocations: 73.59 kB / 328.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.006923, allocations: 8.109 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.006927, allocations: 3.938 kB / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.006939, allocations: 0 / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.007022, allocations: 31.98 kB / 328.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.007025, allocations: 0 / 328.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.007047, allocations: 4 kB / 328.3 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.007053, allocations: 4 kB / 328.3 MB, free: 4.391 MB / 298.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 (13): * Single equations (assignments): 13 * 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 6.539e-05/0.007119, allocations: 124.5 kB / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.007142, allocations: 15.98 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.0073, allocations: 91.8 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.007302, allocations: 0 / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.007305, allocations: 4 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007308, allocations: 0 / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.007585, allocations: 292.5 kB / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.007587, allocations: 0 / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-05/0.00765, allocations: 35.95 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.007653, allocations: 0 / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.007661, allocations: 4 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.007664, allocations: 0 / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007665, allocations: 0 / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.007778, allocations: 177.4 kB / 329.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.007792, allocations: 15.89 kB / 329.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.007805, allocations: 4 kB / 329.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.007841, allocations: 4 kB / 329.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.007869, allocations: 19.8 kB / 329.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.007874, allocations: 8 kB / 329.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.524e-05/0.007929, allocations: 65.53 kB / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007929, allocations: 0 / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.008085, allocations: 27.94 kB / 329.2 MB, free: 3.453 MB / 298.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 (13): * Single equations (assignments): 13 * 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.001289/0.009374, allocations: 0.5781 MB / 329.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.009476, allocations: 48.78 kB / 329.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.009481, allocations: 4 kB / 329.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.009512, allocations: 32.78 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.009695, allocations: 27.86 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.01004, allocations: 262.4 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.494e-05/0.01009, allocations: 79.33 kB / 330.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.141e-05/0.01013, allocations: 20.48 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.01019, allocations: 67.36 kB / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01019, allocations: 0 / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of Templates: time 0.003658/0.01385, allocations: 1.688 MB / 332 MB, free: 0.9219 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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.1199985588900745]