Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.0009811/0.0009811, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001139/0.001139, allocations: 170 kB / 24.91 MB, free: 9.191 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2798/0.2798, allocations: 32.8 MB / 294.6 MB, free: 1.176 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.415e-05, allocations: 8.922 kB / 323.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002376/0.0024, allocations: 1.671 MB / 325 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008211/0.003221, allocations: 0.5297 MB / 325.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.003273, allocations: 0 / 325.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.003503, allocations: 31.67 kB / 325.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.003714, allocations: 75.61 kB / 325.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.003913, allocations: 91.64 kB / 325.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.004037, allocations: 63.83 kB / 325.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.322e-05/0.00412, allocations: 12.62 kB / 325.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/0.004179, allocations: 35.83 kB / 325.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.107e-05/0.00423, allocations: 15.94 kB / 325.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.004243, allocations: 4 kB / 325.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.196e-05/0.004305, allocations: 31.92 kB / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.004344, allocations: 15.92 kB / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.004368, allocations: 15.92 kB / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.004505, allocations: 67.75 kB / 325.9 MB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004508, allocations: 0 / 325.9 MB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004509, allocations: 4 kB / 326 MB, free: 6.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004513, allocations: 0 / 326 MB, free: 6.93 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002904/0.004804, allocations: 289.7 kB / 326.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.004839, allocations: 11.97 kB / 326.2 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.004867, allocations: 4.938 kB / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.005006, allocations: 132.4 kB / 326.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.005015, allocations: 8.375 kB / 326.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.005031, allocations: 384 / 326.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.935e-05/0.00512, allocations: 54.94 kB / 326.4 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.005128, allocations: 192 / 326.4 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.005142, allocations: 8.125 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.005147, allocations: 0 / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.016e-05/0.005167, allocations: 4 kB / 326.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.005368, allocations: 171 kB / 326.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.005508, allocations: 30.56 kB / 326.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.005537, allocations: 8.859 kB / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.005554, allocations: 0 / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.00558, allocations: 42.7 kB / 326.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.005581, allocations: 0 / 326.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002777/0.005859, allocations: 85.44 kB / 326.8 MB, free: 6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.005891, allocations: 59.39 kB / 326.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.005982, allocations: 151.3 kB / 327 MB, free: 5.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.005992, allocations: 33.7 kB / 327 MB, free: 5.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.006047, allocations: 92.11 kB / 327.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.006064, allocations: 11.84 kB / 327.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.006091, allocations: 21.7 kB / 327.1 MB, free: 5.598 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.00617, allocations: 322.8 kB / 327.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.006181, allocations: 4 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/0.006192, allocations: 4 kB / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.243e-05/0.006224, allocations: 16.84 kB / 327.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.006225, allocations: 192 / 327.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.33e-05/0.006289, allocations: 53.62 kB / 327.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.006302, allocations: 4 kB / 327.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.006314, allocations: 7.984 kB / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.006327, allocations: 288 / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.924e-05/0.006376, allocations: 15.94 kB / 327.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.00638, allocations: 3.984 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.006397, allocations: 4 kB / 327.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.006403, allocations: 3.984 kB / 327.6 MB, free: 5.148 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 (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 5.671e-05/0.006459, allocations: 116.6 kB / 327.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.006478, allocations: 11.92 kB / 327.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.994e-05/0.006568, allocations: 58.14 kB / 327.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.006571, allocations: 8 kB / 327.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.006572, allocations: 0 / 327.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006575, allocations: 0 / 327.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.006788, allocations: 218.6 kB / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.00679, allocations: 0 / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.00682, allocations: 8 kB / 328 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.006824, allocations: 7.922 kB / 328 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.006829, allocations: 4 kB / 328 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.00683, allocations: 0 / 328 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006831, allocations: 0 / 328 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.071e-05/0.006902, allocations: 147.7 kB / 328.1 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.00691, allocations: 11.95 kB / 328.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.006919, allocations: 4 kB / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.788e-05/0.006947, allocations: 3.984 kB / 328.2 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.006968, allocations: 4 kB / 328.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.006971, allocations: 0 / 328.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.007007, allocations: 43.64 kB / 328.2 MB, free: 4.453 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007007, allocations: 0 / 328.2 MB, free: 4.453 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001237/0.007131, allocations: 8 kB / 328.2 MB, free: 4.445 MB / 298.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.00106/0.008191, allocations: 0.5018 MB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.203e-05/0.008273, allocations: 24.73 kB / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.008276, allocations: 0 / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.987e-05/0.008296, allocations: 20.84 kB / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.008472, allocations: 22.73 kB / 328.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.008753, allocations: 171.1 kB / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.008791, allocations: 63.34 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.052e-05/0.008821, allocations: 15.97 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.008871, allocations: 59.38 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008872, allocations: 0 / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of Templates: time 0.002971/0.01184, allocations: 1.247 MB / 330.3 MB, free: 2.539 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.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: 2.9576066960580647]