Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.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.0008583/0.0008583, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001017/0.001017, allocations: 169 kB / 24.25 MB, free: 308 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.061/1.061, allocations: 158.6 MB / 186 MB, free: 2.906 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.1526/0.1526, allocations: 32.37 MB / 270.7 MB, free: 14.76 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.959e-05, allocations: 6.25 kB / 347.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002428/0.002457, allocations: 1.744 MB / 349.5 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.003484, allocations: 0.7881 MB / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.863e-05/0.003583, allocations: 0 / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.003999, allocations: 107.6 kB / 350.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.004266, allocations: 87.62 kB / 350.5 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.004504, allocations: 87.7 kB / 350.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.004696, allocations: 115.7 kB / 350.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.004824, allocations: 12.22 kB / 350.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.004925, allocations: 71.75 kB / 350.8 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.00504, allocations: 67.84 kB / 350.8 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.005062, allocations: 4 kB / 350.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.731e-05/0.005149, allocations: 43.92 kB / 350.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.005211, allocations: 39.84 kB / 350.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.005272, allocations: 15.94 kB / 350.9 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.005473, allocations: 115.5 kB / 351 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.005476, allocations: 0 / 351 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005477, allocations: 0 / 351 MB, free: 6.391 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.005483, allocations: 4 kB / 351 MB, free: 6.387 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005295/0.006012, allocations: 471.7 kB / 351.5 MB, free: 5.891 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.006063, allocations: 8.031 kB / 351.5 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.006126, allocations: 20.83 kB / 351.5 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.006324, allocations: 168.2 kB / 351.7 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.006348, allocations: 384 / 351.7 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.006376, allocations: 8.312 kB / 351.7 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.006538, allocations: 62.94 kB / 351.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.006553, allocations: 3.938 kB / 351.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.006565, allocations: 0 / 351.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.006573, allocations: 4 kB / 351.8 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.657e-05/0.00663, allocations: 23.97 kB / 351.8 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.006995, allocations: 299.8 kB / 352.1 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.007136, allocations: 67.09 kB / 352.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.00717, allocations: 23.61 kB / 352.2 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.00719, allocations: 0 / 352.2 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.007308, allocations: 76.98 kB / 352.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.00731, allocations: 0 / 352.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004734/0.007783, allocations: 177.2 kB / 352.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.007817, allocations: 63.34 kB / 352.5 MB, free: 4.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.007952, allocations: 258.8 kB / 352.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.007964, allocations: 25.7 kB / 352.8 MB, free: 4.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.008022, allocations: 170.9 kB / 352.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.008054, allocations: 27.78 kB / 353 MB, free: 4.285 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.008093, allocations: 31.36 kB / 353 MB, free: 4.246 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.008197, allocations: 0.504 MB / 353.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.008225, allocations: 8 kB / 353.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.92e-05/0.008264, allocations: 39.36 kB / 353.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.374e-05/0.008328, allocations: 63.23 kB / 353.6 MB, free: 3.605 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.008329, allocations: 4 kB / 353.6 MB, free: 3.602 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001169/0.008446, allocations: 101.6 kB / 353.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.00846, allocations: 7.984 kB / 353.7 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.008468, allocations: 0 / 353.7 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.008484, allocations: 0 / 353.7 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.008569, allocations: 20 kB / 353.7 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.008576, allocations: 480 / 353.7 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/0.008607, allocations: 7.984 kB / 353.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.008613, allocations: 4 kB / 353.7 MB, free: 3.457 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 (11): * Single equations (assignments): 11 * 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.701e-05/0.00868, allocations: 168.4 kB / 353.9 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.008698, allocations: 23.94 kB / 353.9 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.008881, allocations: 123 kB / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.008885, allocations: 3.984 kB / 354.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.008891, allocations: 4 kB / 354.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.008898, allocations: 4 kB / 354.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.009223, allocations: 428.9 kB / 354.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.009225, allocations: 0 / 354.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.00926, allocations: 12 kB / 354.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.009263, allocations: 0 / 354.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.009278, allocations: 12.02 kB / 354.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.009281, allocations: 0 / 354.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.009283, allocations: 0 / 354.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.009456, allocations: 283.2 kB / 354.8 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.009468, allocations: 11.91 kB / 354.8 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.009487, allocations: 0 / 354.8 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.626e-05/0.009533, allocations: 11.98 kB / 354.8 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.009581, allocations: 7.984 kB / 354.8 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.009598, allocations: 4 kB / 354.8 MB, free: 2.293 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.202e-05/0.00968, allocations: 194.9 kB / 355 MB, free: 2.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00968, allocations: 0 / 355 MB, free: 2.102 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001786/0.009858, allocations: 31.94 kB / 355 MB, free: 2.07 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 (11): * Single equations (assignments): 9 * 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.001002/0.01086, allocations: 427.9 kB / 355.5 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.01102, allocations: 67.59 kB / 355.5 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01103, allocations: 0 / 355.5 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.279e-05/0.01108, allocations: 39.55 kB / 355.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.01134, allocations: 35.97 kB / 355.6 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.01175, allocations: 269.7 kB / 355.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.485e-05/0.0118, allocations: 83.2 kB / 355.9 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.876e-05/0.01183, allocations: 16.95 kB / 356 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.01187, allocations: 20.5 kB / 356 MB, free: 1.164 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01187, allocations: 0 / 356 MB, free: 1.164 MB / 282.7 MB Notification: Performance of Templates: time 0.00409/0.01596, allocations: 1.99 MB / 358 MB, free: 15.2 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/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: 3.3381316151935607]