Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.0008663/0.0008663, 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.0009149/0.0009149, allocations: 168.7 kB / 24.91 MB, free: 9.148 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.9492/0.9492, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2532/0.2532, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.053e-05, allocations: 2.312 kB / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.00196/0.00198, allocations: 1.656 MB / 324.9 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006852/0.002665, allocations: 0.5374 MB / 325.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.002713, allocations: 0 / 325.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.002946, allocations: 83.64 kB / 325.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.003205, allocations: 111.5 kB / 325.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.003435, allocations: 107.7 kB / 325.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.003562, allocations: 87.73 kB / 325.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.501e-05/0.003637, allocations: 15.98 kB / 325.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.94e-05/0.003707, allocations: 51.83 kB / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.003789, allocations: 43.94 kB / 325.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.003801, allocations: 0 / 325.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.807e-05/0.003879, allocations: 47.92 kB / 326 MB, free: 6.934 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.00392, allocations: 31.84 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.00394, allocations: 11.94 kB / 326 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.004071, allocations: 99.59 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.004072, allocations: 0 / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004073, allocations: 0 / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.004076, allocations: 0 / 326.1 MB, free: 6.793 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002939/0.00437, allocations: 313.4 kB / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.004398, allocations: 8.031 kB / 326.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.004424, allocations: 12.92 kB / 326.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.004541, allocations: 147.4 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.004549, allocations: 4.375 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.004567, allocations: 384 / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.79e-05/0.004645, allocations: 70.88 kB / 326.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004653, allocations: 192 / 326.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.004662, allocations: 4.125 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.004666, allocations: 0 / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.004686, allocations: 11.98 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.00488, allocations: 171.7 kB / 326.8 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.555e-05/0.004926, allocations: 33.33 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.004941, allocations: 12.86 kB / 326.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.004953, allocations: 0 / 326.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.00497, allocations: 38.5 kB / 326.9 MB, free: 5.887 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.004971, allocations: 4 kB / 326.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003621/0.005333, allocations: 145.9 kB / 327.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.00536, allocations: 55.41 kB / 327.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.005457, allocations: 180.8 kB / 327.3 MB, free: 5.477 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.005465, allocations: 25.7 kB / 327.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.631e-05/0.005492, allocations: 92.83 kB / 327.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.005513, allocations: 35.72 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.005539, allocations: 17.72 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.4e-05/0.005603, allocations: 330.8 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.005618, allocations: 15.92 kB / 327.8 MB, free: 4.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.1e-05/0.005629, allocations: 4 kB / 327.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.994e-05/0.005659, allocations: 35.59 kB / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.00566, allocations: 0 / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.362e-05/0.005714, allocations: 57.61 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.005729, allocations: 8 kB / 327.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.005733, allocations: 0 / 327.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.005744, allocations: 0 / 327.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.005798, allocations: 19.92 kB / 327.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.0058, allocations: 0 / 327.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.005817, allocations: 12 kB / 327.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.005823, allocations: 0 / 327.9 MB, free: 4.801 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 (8): * Single equations (assignments): 8 * 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 4.771e-05/0.00587, allocations: 108.7 kB / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.00589, allocations: 19.92 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.789e-05/0.005978, allocations: 71.44 kB / 328.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005979, allocations: 0 / 328.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.005982, allocations: 3.984 kB / 328.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005984, allocations: 4 kB / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.006181, allocations: 251.5 kB / 328.4 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.006183, allocations: 11.97 kB / 328.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.006213, allocations: 15.98 kB / 328.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.006214, allocations: 0 / 328.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.006219, allocations: 4 kB / 328.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.00622, allocations: 0 / 328.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.00622, allocations: 0 / 328.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.51e-05/0.006295, allocations: 168.2 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.006304, allocations: 11.91 kB / 328.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-06/0.006313, allocations: 0 / 328.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.941e-05/0.006342, allocations: 4 kB / 328.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.006364, allocations: 15.98 kB / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.006367, allocations: 0 / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.882e-05/0.006406, allocations: 55.64 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006406, allocations: 0 / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001256/0.006532, allocations: 20 kB / 328.7 MB, free: 3.98 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 (8): * Single equations (assignments): 8 * 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.001104/0.007636, allocations: 0.5745 MB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.084e-05/0.007707, allocations: 32.73 kB / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.007709, allocations: 0 / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.186e-05/0.007731, allocations: 24.84 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.007867, allocations: 20.23 kB / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.008149, allocations: 231.6 kB / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.575e-05/0.008184, allocations: 79.39 kB / 329.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.945e-05/0.008214, allocations: 8.719 kB / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.008263, allocations: 59.38 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.008264, allocations: 0 / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of Templates: time 0.002662/0.01093, allocations: 1.526 MB / 331.2 MB, free: 1.695 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.967554342932999]