Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.0015/0.0015, allocations: 81.08 kB / 20.65 MB, free: 3.844 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.001326/0.001326, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.108/1.108, allocations: 158.6 MB / 186 MB, free: 2.754 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1463/0.1463, allocations: 32.38 MB / 270.7 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.275e-05, allocations: 5.406 kB / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002883/0.002906, allocations: 1.726 MB / 349.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.004182, allocations: 0.7843 MB / 350.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.004283, allocations: 4 kB / 350.7 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.004642, allocations: 39.77 kB / 350.8 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.00487, allocations: 59.69 kB / 350.8 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.005071, allocations: 91.64 kB / 350.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.005227, allocations: 99.67 kB / 351 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.005329, allocations: 4.234 kB / 351 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.409e-05/0.005423, allocations: 51.84 kB / 351.1 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.504e-05/0.005509, allocations: 27.89 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.005527, allocations: 7.938 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.277e-05/0.00561, allocations: 43.92 kB / 351.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.005658, allocations: 19.92 kB / 351.2 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.005698, allocations: 19.92 kB / 351.2 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.005846, allocations: 91.67 kB / 351.3 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.005847, allocations: 0 / 351.3 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005848, allocations: 4 kB / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.015e-06/0.005851, allocations: 0 / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003427/0.006194, allocations: 451.8 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.00623, allocations: 11.97 kB / 351.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.006262, allocations: 8.891 kB / 351.7 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.006372, allocations: 152.4 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.006386, allocations: 4.375 kB / 351.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.006403, allocations: 4.328 kB / 351.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.455e-05/0.006497, allocations: 62.94 kB / 351.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.006506, allocations: 3.938 kB / 352 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.006513, allocations: 4 kB / 352 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.006518, allocations: 0 / 352 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.006544, allocations: 15.92 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.006738, allocations: 252.5 kB / 352.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.444e-05/0.006812, allocations: 51.16 kB / 352.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.006831, allocations: 19.67 kB / 352.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.006846, allocations: 7.984 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.49e-05/0.006921, allocations: 68.92 kB / 352.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.006922, allocations: 4 kB / 352.4 MB, free: 4.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002722/0.007194, allocations: 137.4 kB / 352.5 MB, free: 4.648 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.679e-05/0.007211, allocations: 51.41 kB / 352.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.007286, allocations: 221.8 kB / 352.8 MB, free: 4.352 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.007293, allocations: 25.7 kB / 352.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.007327, allocations: 150.9 kB / 352.9 MB, free: 4.168 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.007349, allocations: 27.77 kB / 353 MB, free: 4.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.007373, allocations: 27.38 kB / 353 MB, free: 4.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.007423, allocations: 0.5001 MB / 353.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.007438, allocations: 7.984 kB / 353.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.007461, allocations: 35.38 kB / 353.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/0.007498, allocations: 43.3 kB / 353.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.007499, allocations: 4 kB / 353.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.323e-05/0.007572, allocations: 89.55 kB / 353.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.007583, allocations: 7.984 kB / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.007588, allocations: 80 / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.007601, allocations: 4 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.433e-05/0.007656, allocations: 12 kB / 353.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.007659, allocations: 3.984 kB / 353.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.007686, allocations: 8.031 kB / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.007692, allocations: 7.922 kB / 353.7 MB, free: 3.352 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.71e-05/0.007739, allocations: 160.6 kB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.007753, allocations: 19.84 kB / 353.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.007857, allocations: 98.38 kB / 354 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.007859, allocations: 0 / 354 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.00786, allocations: 0 / 354 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.007863, allocations: 0 / 354 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.008048, allocations: 357.6 kB / 354.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008049, allocations: 4.031 kB / 354.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.008072, allocations: 23.92 kB / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008074, allocations: 384 / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.00808, allocations: 4 kB / 354.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.008081, allocations: 4 kB / 354.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.008082, allocations: 0 / 354.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.909e-05/0.008171, allocations: 255.4 kB / 354.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.008181, allocations: 7.953 kB / 354.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.008196, allocations: 4 kB / 354.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.008233, allocations: 4 kB / 354.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.008256, allocations: 7.984 kB / 354.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-06/0.008266, allocations: 8 kB / 354.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.908e-05/0.008305, allocations: 164 kB / 354.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008305, allocations: 0 / 354.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.00846, allocations: 23.94 kB / 354.8 MB, free: 2.152 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008147/0.009275, allocations: 430.7 kB / 355.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.378e-05/0.009359, allocations: 55.52 kB / 355.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.00936, allocations: 0 / 355.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/0.00939, allocations: 31.89 kB / 355.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.00959, allocations: 39.97 kB / 355.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.009828, allocations: 217.4 kB / 355.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.641e-05/0.009854, allocations: 71.27 kB / 355.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.822e-05/0.009883, allocations: 12.5 kB / 355.7 MB, free: 1.344 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.009935, allocations: 90.17 kB / 355.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009935, allocations: 0 / 355.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of Templates: time 0.00315/0.01309, allocations: 2.017 MB / 357.8 MB, free: 15.26 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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: 3.307164258789271]