Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001522/0.001522, allocations: 78.66 kB / 21.42 MB, free: 3.078 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.001898/0.001898, allocations: 170.7 kB / 24.82 MB, free: 8.922 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.9922/0.9922, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.2491/0.2491, allocations: 32.8 MB / 294.6 MB, free: 1.16 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.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 376.6 MB, free: 4.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.908e-05, allocations: 2.312 kB / 376.6 MB, free: 4.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002473/0.002492, allocations: 1.719 MB / 378.3 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003666, allocations: 0.9741 MB / 379.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.003743, allocations: 4 kB / 379.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.004009, allocations: 51.75 kB / 379.3 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.004299, allocations: 107.5 kB / 379.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.004468, allocations: 75.67 kB / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.004603, allocations: 111.6 kB / 379.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.004637, allocations: 240 / 379.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.004718, allocations: 55.83 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.23e-05/0.00478, allocations: 27.91 kB / 379.7 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.004794, allocations: 4 kB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.428e-05/0.004859, allocations: 31.92 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.232e-05/0.004901, allocations: 27.92 kB / 379.8 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.004935, allocations: 23.86 kB / 379.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.005075, allocations: 95.61 kB / 379.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.005076, allocations: 0 / 379.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005077, allocations: 4 kB / 379.9 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.005081, allocations: 0 / 379.9 MB, free: 0.9648 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003669/0.005448, allocations: 471.7 kB / 380.3 MB, free: 480 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.005478, allocations: 8.031 kB / 380.3 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.005511, allocations: 16.84 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.005642, allocations: 169.2 kB / 380.5 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.005657, allocations: 8.359 kB / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.005664, allocations: 4.375 kB / 380.5 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.749e-05/0.005751, allocations: 50.95 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.00576, allocations: 3.938 kB / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.005769, allocations: 11.98 kB / 380.6 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.005774, allocations: 0 / 380.6 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.942e-05/0.005793, allocations: 4 kB / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.005898, allocations: 117.3 kB / 380.7 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.665e-05/0.005985, allocations: 55.03 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.006003, allocations: 11.69 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.006016, allocations: 0 / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.359e-05/0.006089, allocations: 65.05 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 6.11e-07/0.00609, allocations: 0 / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001428/0.006233, allocations: 93.45 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.006254, allocations: 51.41 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.00639, allocations: 270.6 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.006403, allocations: 29.7 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.006458, allocations: 166.8 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.006483, allocations: 15.89 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.006512, allocations: 23.38 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.006618, allocations: 0.5001 MB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.006633, allocations: 7.984 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/0.006654, allocations: 27.36 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.006693, allocations: 43.3 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006694, allocations: 0 / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.265e-05/0.006767, allocations: 73.59 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.006776, allocations: 4 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.00678, allocations: 3.938 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.006792, allocations: 7.938 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.986e-05/0.006842, allocations: 11.94 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.006844, allocations: 0 / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/0.006873, allocations: 4 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.006878, allocations: 8.016 kB / 382.2 MB, free: 14.45 MB / 362.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 (7): * Single equations (assignments): 7 * 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.75e-05/0.006945, allocations: 168 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.006961, allocations: 15.91 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.829e-05/0.007059, allocations: 83.14 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.007062, allocations: 3.938 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.007064, allocations: 0 / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.007067, allocations: 7.938 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.77e-05/0.007154, allocations: 129.2 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.007155, allocations: 0 / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/0.007172, allocations: 4 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.007174, allocations: 7.984 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-06/0.007179, allocations: 4 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.007182, allocations: 3.984 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007183, allocations: 0 / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.467e-05/0.007267, allocations: 120.3 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.007281, allocations: 11.91 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.007296, allocations: 3.984 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.333e-05/0.00732, allocations: 4 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.00734, allocations: 4 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.007351, allocations: 7.922 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.422e-05/0.007425, allocations: 188.4 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007425, allocations: 4 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001379/0.007563, allocations: 16 kB / 382.9 MB, free: 13.61 MB / 362.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: 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 (6): * Single equations (assignments): 4 * 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.0007993/0.008362, allocations: 380.5 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.402e-05/0.008436, allocations: 31.67 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.008438, allocations: 3.938 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.008466, allocations: 27.61 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.008635, allocations: 32 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.008915, allocations: 234.6 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.514e-05/0.00895, allocations: 75.27 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.825e-05/0.008978, allocations: 12.56 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.009039, allocations: 94.19 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009039, allocations: 0 / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of Templates: time 0.003504/0.01254, allocations: 1.815 MB / 385.6 MB, free: 11.03 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.995495912153274]