Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.001067/0.001067, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001009/0.001009, allocations: 165.8 kB / 24.84 MB, free: 9.293 MB / 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.065/1.065, allocations: 158.6 MB / 186.7 MB, free: 2.797 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.1471/0.1471, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.854e-05, allocations: 2.312 kB / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003009/0.003038, allocations: 1.717 MB / 350.7 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.004372, allocations: 0.7842 MB / 351.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.004473, allocations: 4 kB / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.004816, allocations: 51.69 kB / 351.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.005057, allocations: 51.77 kB / 351.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.005307, allocations: 91.62 kB / 351.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.0055, allocations: 91.7 kB / 351.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.005622, allocations: 4.234 kB / 351.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.005734, allocations: 59.81 kB / 351.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.797e-05/0.005832, allocations: 23.92 kB / 351.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.005856, allocations: 4 kB / 351.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.607e-05/0.005952, allocations: 47.91 kB / 351.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.006013, allocations: 27.86 kB / 351.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.006054, allocations: 15.94 kB / 352 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.006236, allocations: 103.6 kB / 352.1 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.006238, allocations: 4 kB / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006239, allocations: 0 / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.006242, allocations: 0 / 352.1 MB, free: 5.996 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.0004237/0.006666, allocations: 443.8 kB / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.006705, allocations: 15.97 kB / 352.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.006749, allocations: 20.83 kB / 352.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.006914, allocations: 145.8 kB / 352.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.006933, allocations: 4.359 kB / 352.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.006953, allocations: 8.375 kB / 352.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.007072, allocations: 58.88 kB / 352.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.007086, allocations: 3.938 kB / 352.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.007095, allocations: 4 kB / 352.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.007101, allocations: 0 / 352.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.548e-05/0.007136, allocations: 11.98 kB / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.007413, allocations: 256.4 kB / 353 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.007527, allocations: 63.09 kB / 353.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.007554, allocations: 11.69 kB / 353.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.007567, allocations: 4 kB / 353.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.649e-05/0.007663, allocations: 68.98 kB / 353.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.007665, allocations: 0 / 353.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004182/0.008083, allocations: 137.5 kB / 353.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.008109, allocations: 51.41 kB / 353.4 MB, free: 4.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.008223, allocations: 223.9 kB / 353.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.008238, allocations: 37.69 kB / 353.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.008286, allocations: 150.9 kB / 353.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.008316, allocations: 27.77 kB / 353.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.008354, allocations: 27.38 kB / 353.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.008421, allocations: 0.5001 MB / 354.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.008444, allocations: 15.92 kB / 354.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.008473, allocations: 27.36 kB / 354.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.408e-05/0.008527, allocations: 43.36 kB / 354.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.008529, allocations: 0 / 354.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001179/0.008646, allocations: 97.53 kB / 354.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.008658, allocations: 4 kB / 354.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.008664, allocations: 4 kB / 354.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.008676, allocations: 3.984 kB / 354.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.023e-05/0.008756, allocations: 15.98 kB / 354.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.00876, allocations: 0 / 354.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.008802, allocations: 4 kB / 354.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.008809, allocations: 3.938 kB / 354.5 MB, free: 3.328 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 6.427e-05/0.008874, allocations: 168.5 kB / 354.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.008896, allocations: 15.89 kB / 354.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.009053, allocations: 111.1 kB / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.009055, allocations: 0 / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.009057, allocations: 0 / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.009062, allocations: 4 kB / 354.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.009356, allocations: 357.6 kB / 355.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.009358, allocations: 0 / 355.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.009399, allocations: 8 kB / 355.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.009403, allocations: 7.984 kB / 355.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.009411, allocations: 384 / 355.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.009413, allocations: 0 / 355.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.009416, allocations: 12.03 kB / 355.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.009568, allocations: 251.4 kB / 355.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.009584, allocations: 11.91 kB / 355.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.009608, allocations: 4 kB / 355.5 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/0.009689, allocations: 4 kB / 355.5 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.009719, allocations: 7.984 kB / 355.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.009732, allocations: 0 / 355.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.506e-05/0.009797, allocations: 167.8 kB / 355.6 MB, free: 2.141 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.009797, allocations: 0 / 355.6 MB, free: 2.141 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002764/0.01007, allocations: 23.94 kB / 355.7 MB, free: 2.117 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.001131/0.0112, allocations: 440.7 kB / 356.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.01133, allocations: 55.52 kB / 356.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01134, allocations: 0 / 356.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.555e-05/0.01138, allocations: 31.66 kB / 356.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.01168, allocations: 35.77 kB / 356.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.01195, allocations: 221 kB / 356.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.91e-05/0.01198, allocations: 75.41 kB / 356.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.151e-05/0.01201, allocations: 12.48 kB / 356.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.01207, allocations: 90.19 kB / 356.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01207, allocations: 0 / 356.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of Templates: time 0.003411/0.01548, allocations: 2.036 MB / 358.6 MB, free: 15.19 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.2639498291537166]