Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001383/0.001383, 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.001624/0.001624, allocations: 170.4 kB / 24.91 MB, free: 9.199 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 0.9801/0.9801, 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.2334/0.2334, allocations: 32.81 MB / 294.6 MB, free: 1.262 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.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.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.664e-05, allocations: 2.312 kB / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002256/0.002283, allocations: 1.635 MB / 324.9 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007867/0.003069, allocations: 0.5452 MB / 325.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.003134, allocations: 4 kB / 325.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.003347, allocations: 19.84 kB / 325.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.003622, allocations: 79.56 kB / 325.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.003894, allocations: 111.6 kB / 325.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.004026, allocations: 75.7 kB / 325.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.028e-05/0.004106, allocations: 12.61 kB / 325.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.068e-05/0.004167, allocations: 31.92 kB / 325.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.445e-05/0.004221, allocations: 19.91 kB / 325.8 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.004233, allocations: 4 kB / 325.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-05/0.004302, allocations: 28 kB / 325.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.004342, allocations: 15.92 kB / 325.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.004362, allocations: 4 kB / 325.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.004504, allocations: 83.61 kB / 325.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.004508, allocations: 3.984 kB / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004509, allocations: 0 / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.004513, allocations: 0 / 325.9 MB, free: 7.031 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.0003269/0.00484, allocations: 285.7 kB / 326.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.004871, allocations: 8.031 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.004906, allocations: 12.92 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.005304, allocations: 148.4 kB / 326.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.005313, allocations: 384 / 326.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.005331, allocations: 384 / 326.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.232e-05/0.005424, allocations: 58.89 kB / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.005433, allocations: 192 / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.00544, allocations: 4.125 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.005445, allocations: 4 kB / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.005465, allocations: 7.984 kB / 326.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.005679, allocations: 163.1 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.005821, allocations: 37.39 kB / 326.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.005842, allocations: 12.84 kB / 326.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.005869, allocations: 0 / 326.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.005898, allocations: 34.56 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.005899, allocations: 0 / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000317/0.006216, allocations: 85.58 kB / 326.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.006254, allocations: 51.41 kB / 326.8 MB, free: 6.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.006366, allocations: 159.3 kB / 326.9 MB, free: 5.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.006377, allocations: 33.7 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.006417, allocations: 96 kB / 327.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.006441, allocations: 15.89 kB / 327.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.006476, allocations: 13.72 kB / 327.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.00657, allocations: 322.8 kB / 327.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.006584, allocations: 4 kB / 327.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.271e-05/0.006597, allocations: 4 kB / 327.4 MB, free: 5.355 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.006636, allocations: 31.59 kB / 327.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006638, allocations: 0 / 327.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.841e-05/0.006706, allocations: 49.62 kB / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.006722, allocations: 4 kB / 327.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.006728, allocations: 4 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.006742, allocations: 256 / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.006797, allocations: 11.98 kB / 327.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.006805, allocations: 4 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.006825, allocations: 4 kB / 327.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.00683, allocations: 0 / 327.5 MB, free: 5.238 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 6.794e-05/0.006898, allocations: 116.7 kB / 327.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.006916, allocations: 11.92 kB / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.007046, allocations: 62.06 kB / 327.7 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007048, allocations: 0 / 327.7 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.00705, allocations: 4 kB / 327.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.007055, allocations: 0 / 327.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.00727, allocations: 222.7 kB / 327.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007271, allocations: 0 / 327.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.007302, allocations: 8 kB / 327.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.007304, allocations: 0 / 327.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.007309, allocations: 0 / 327.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007311, allocations: 3.984 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.007312, allocations: 0 / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.271e-05/0.007394, allocations: 151.5 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.007402, allocations: 7.953 kB / 328.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.007412, allocations: 4 kB / 328.1 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.96e-05/0.007441, allocations: 3.984 kB / 328.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.007463, allocations: 0 / 328.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.007467, allocations: 4 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.161e-05/0.007498, allocations: 39.59 kB / 328.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007498, allocations: 3.938 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000136/0.007634, allocations: 19.92 kB / 328.2 MB, free: 4.527 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.001098/0.008732, allocations: 0.4959 MB / 328.7 MB, free: 4.293 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.439e-05/0.008826, allocations: 24.8 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.008831, allocations: 4 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/0.008856, allocations: 24.77 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.009019, allocations: 22.73 kB / 328.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.009351, allocations: 175.1 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.116e-05/0.009392, allocations: 63.34 kB / 329 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.009438, allocations: 19.97 kB / 329 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.009505, allocations: 55.38 kB / 329.1 MB, free: 3.855 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.009507, allocations: 0 / 329.1 MB, free: 3.855 MB / 298.7 MB Notification: Performance of Templates: time 0.003099/0.01261, allocations: 1.248 MB / 330.3 MB, free: 2.617 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/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.801039450801909]