Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.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.001324/0.001324, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001513/0.001513, allocations: 162.8 kB / 25.61 MB, free: 8.902 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.9387/0.9387, allocations: 177.1 MB / 206.1 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1345/0.1345, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 7.938 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.387e-05, allocations: 2.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.002716/0.00274, allocations: 1.618 MB / 380.9 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.004199, allocations: 1.278 MB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.004274, allocations: 4 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.004503, allocations: 35.66 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.004827, allocations: 87.55 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.005131, allocations: 107.7 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.005277, allocations: 67.78 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.005371, allocations: 11.86 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.00544, allocations: 35.89 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.005543, allocations: 23.92 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.005559, allocations: 8 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.005726, allocations: 91.81 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.251e-05/0.005768, allocations: 19.91 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.005794, allocations: 15.94 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.00601, allocations: 131.5 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.006013, allocations: 0 / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006014, allocations: 0 / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.006017, allocations: 0 / 382.8 MB, free: 19.85 MB / 314.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.000352/0.006369, allocations: 435.9 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.006403, allocations: 12.03 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.006446, allocations: 12.83 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.00658, allocations: 139.6 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.00659, allocations: 4.375 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.006607, allocations: 384 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.006716, allocations: 100 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.006725, allocations: 192 / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.006734, allocations: 4.125 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.006739, allocations: 0 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.576e-05/0.006765, allocations: 11.92 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.006999, allocations: 260.4 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.007133, allocations: 39.06 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.007151, allocations: 15.77 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.007167, allocations: 0 / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.007185, allocations: 41.33 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.007186, allocations: 3.938 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003004/0.007486, allocations: 77.91 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.007517, allocations: 85.05 kB / 384 MB, free: 18.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.876e-05/0.007616, allocations: 196 kB / 384.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.007623, allocations: 25.7 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.007656, allocations: 146.7 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.007676, allocations: 27.84 kB / 384.4 MB, free: 18.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.007714, allocations: 19.38 kB / 384.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.007761, allocations: 0.4962 MB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.007777, allocations: 4 kB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.007807, allocations: 49.06 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.838e-05/0.007846, allocations: 23.67 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.007847, allocations: 0 / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.096e-05/0.007938, allocations: 65.72 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.007949, allocations: 4 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.007953, allocations: 0 / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.007965, allocations: 11.97 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.137e-05/0.008016, allocations: 12.03 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.008019, allocations: 0 / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.008048, allocations: 4 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.008053, allocations: 0 / 385.1 MB, free: 17.33 MB / 314.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 4.753e-05/0.008101, allocations: 160.6 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.008136, allocations: 15.89 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.008247, allocations: 66.08 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.008249, allocations: 0 / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.008251, allocations: 3.984 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.008255, allocations: 0 / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.008491, allocations: 298 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.008492, allocations: 0 / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.008535, allocations: 11.98 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.008537, allocations: 0 / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.008544, allocations: 4 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.008545, allocations: 0 / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.008547, allocations: 3.938 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.652e-05/0.008643, allocations: 211.8 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-06/0.008653, allocations: 3.953 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.008669, allocations: 4.25 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.008729, allocations: 11.98 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.008752, allocations: 4 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.008756, allocations: 0 / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.567e-05/0.008802, allocations: 151.1 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008802, allocations: 0 / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003287/0.009131, allocations: 35.88 kB / 386.1 MB, free: 16.29 MB / 314.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.001365/0.0105, allocations: 492.8 kB / 386.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.0106, allocations: 35.61 kB / 386.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.0106, allocations: 0 / 386.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.01062, allocations: 15.69 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.01093, allocations: 26.75 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.01123, allocations: 167.8 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.927e-05/0.01125, allocations: 71.14 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.525e-05/0.01131, allocations: 12.25 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.01138, allocations: 90.17 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01138, allocations: 0 / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of Templates: time 0.004326/0.01571, allocations: 2.039 MB / 389 MB, free: 13.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.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.9629627792164683]