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.0008498/0.0008498, allocations: 80.8 kB / 21.5 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.00101/0.00101, allocations: 168.7 kB / 24.91 MB, free: 9.18 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.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2708/0.2708, allocations: 32.81 MB / 294.6 MB, free: 1.16 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.583e-06/1.583e-06, allocations: 0 / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.329e-05, allocations: 3.016 kB / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002459/0.002482, allocations: 1.681 MB / 325 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007425/0.003225, allocations: 0.5374 MB / 325.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.003274, allocations: 0 / 325.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.003466, allocations: 31.72 kB / 325.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.003709, allocations: 67.69 kB / 325.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.00398, allocations: 123.5 kB / 325.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.004104, allocations: 63.84 kB / 325.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.643e-05/0.00418, allocations: 19.95 kB / 325.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.681e-05/0.004237, allocations: 31.86 kB / 325.8 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.766e-05/0.004285, allocations: 11.92 kB / 325.8 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.004295, allocations: 4 kB / 325.8 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-05/0.004363, allocations: 35.97 kB / 325.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.004398, allocations: 15.94 kB / 325.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.004419, allocations: 11.92 kB / 325.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.004555, allocations: 75.67 kB / 326 MB, free: 6.895 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.004558, allocations: 4 kB / 326 MB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004559, allocations: 0 / 326 MB, free: 6.891 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004564, allocations: 0 / 326 MB, free: 6.891 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.000285/0.004849, allocations: 285.7 kB / 326.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.004876, allocations: 11.97 kB / 326.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.004899, allocations: 4.938 kB / 326.3 MB, free: 6.574 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.00502, allocations: 137.6 kB / 326.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.005027, allocations: 4.375 kB / 326.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.005041, allocations: 384 / 326.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.023e-05/0.005121, allocations: 58.95 kB / 326.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.005128, allocations: 4.188 kB / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.005135, allocations: 4.125 kB / 326.5 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.005139, allocations: 0 / 326.5 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.005159, allocations: 7.984 kB / 326.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.005358, allocations: 167.8 kB / 326.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.005473, allocations: 33.39 kB / 326.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.336e-05/0.005486, allocations: 4.859 kB / 326.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.0055, allocations: 8.031 kB / 326.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.005519, allocations: 34.55 kB / 326.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.00552, allocations: 0 / 326.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002444/0.005764, allocations: 89.48 kB / 326.8 MB, free: 5.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.005788, allocations: 51.41 kB / 326.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.005876, allocations: 159.4 kB / 327 MB, free: 5.723 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.005886, allocations: 25.7 kB / 327.1 MB, free: 5.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.005917, allocations: 88.12 kB / 327.1 MB, free: 5.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.005937, allocations: 23.83 kB / 327.2 MB, free: 5.578 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.005963, allocations: 13.72 kB / 327.2 MB, free: 5.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.611e-05/0.006039, allocations: 318.8 kB / 327.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.006051, allocations: 4 kB / 327.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.04e-05/0.006061, allocations: 4 kB / 327.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.319e-05/0.006094, allocations: 31.67 kB / 327.5 MB, free: 5.195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.006096, allocations: 192 / 327.5 MB, free: 5.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.922e-05/0.006155, allocations: 53.61 kB / 327.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.006166, allocations: 8 kB / 327.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.00617, allocations: 0 / 327.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.006178, allocations: 0 / 327.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.524e-05/0.006223, allocations: 11.94 kB / 327.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.006226, allocations: 3.984 kB / 327.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.006244, allocations: 7.984 kB / 327.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.006248, allocations: 0 / 327.6 MB, free: 5.105 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.973e-05/0.006318, allocations: 120.7 kB / 327.7 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.006337, allocations: 7.938 kB / 327.7 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.429e-05/0.006431, allocations: 58.14 kB / 327.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006433, allocations: 0 / 327.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.006435, allocations: 0 / 327.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.006437, allocations: 0 / 327.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.006638, allocations: 222.7 kB / 328 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.00664, allocations: 0 / 328 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.006674, allocations: 11.98 kB / 328 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.006676, allocations: 0 / 328 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.006679, allocations: 4 kB / 328 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.006681, allocations: 0 / 328 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006682, allocations: 3.938 kB / 328 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.288e-05/0.006755, allocations: 151.9 kB / 328.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.006766, allocations: 15.94 kB / 328.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.006775, allocations: 4 kB / 328.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.118e-05/0.006807, allocations: 4 kB / 328.2 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.006828, allocations: 3.984 kB / 328.2 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.006832, allocations: 3.984 kB / 328.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.007e-05/0.006862, allocations: 35.67 kB / 328.2 MB, free: 4.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006862, allocations: 0 / 328.2 MB, free: 4.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001347/0.006997, allocations: 19.94 kB / 328.3 MB, free: 4.391 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.001141/0.008138, allocations: 0.4889 MB / 328.8 MB, free: 4.164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.452e-05/0.008223, allocations: 28.72 kB / 328.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.008227, allocations: 4 kB / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.626e-05/0.008244, allocations: 8.859 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.008411, allocations: 22.75 kB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.008702, allocations: 183.1 kB / 329 MB, free: 3.891 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.593e-05/0.008738, allocations: 67.33 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.999e-05/0.008768, allocations: 7.984 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.00882, allocations: 63.36 kB / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.00882, allocations: 0 / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of Templates: time 0.002975/0.0118, allocations: 1.261 MB / 330.4 MB, free: 2.484 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 -s gbode -gbm=radauIIA3 -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.882622112054378]