Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001125/0.001125, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00171/0.00171, allocations: 159.6 kB / 24.99 MB, free: 9.324 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 1.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.621 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.2746/0.2746, allocations: 32.8 MB / 294.6 MB, free: 1.285 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 376.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.926e-05, allocations: 2.312 kB / 376.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002199/0.002218, allocations: 1.77 MB / 377.9 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.003386, allocations: 1.005 MB / 378.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.003455, allocations: 0 / 378.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.003717, allocations: 39.77 kB / 378.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.003959, allocations: 103.4 kB / 379 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.004093, allocations: 75.67 kB / 379.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.004237, allocations: 111.6 kB / 379.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.482e-05/0.004322, allocations: 4 kB / 379.2 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.368e-05/0.004396, allocations: 55.83 kB / 379.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.263e-05/0.004458, allocations: 27.91 kB / 379.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.004472, allocations: 4 kB / 379.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.847e-05/0.00455, allocations: 47.86 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.004599, allocations: 31.84 kB / 379.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.004634, allocations: 15.94 kB / 379.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.004794, allocations: 99.66 kB / 379.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004796, allocations: 0 / 379.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004797, allocations: 0 / 379.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.004802, allocations: 3.984 kB / 379.5 MB, free: 1.504 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004156/0.005218, allocations: 443.9 kB / 379.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.005252, allocations: 8.031 kB / 379.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.005297, allocations: 24.83 kB / 379.9 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.005465, allocations: 161 kB / 380.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.005483, allocations: 4.375 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.005501, allocations: 4.375 kB / 380.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.005616, allocations: 58.94 kB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.005626, allocations: 3.938 kB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.005635, allocations: 4 kB / 380.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.005643, allocations: 0 / 380.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.403e-05/0.005677, allocations: 11.98 kB / 380.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.005954, allocations: 283.7 kB / 380.5 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.006055, allocations: 63.14 kB / 380.5 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.006085, allocations: 19.62 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.006097, allocations: 4 kB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.228e-05/0.00619, allocations: 65.05 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.006191, allocations: 0 / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003702/0.006561, allocations: 157.4 kB / 380.8 MB, free: 76 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.006591, allocations: 55.34 kB / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.006736, allocations: 234.3 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.00675, allocations: 33.69 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.006802, allocations: 150.9 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.006829, allocations: 31.77 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.006861, allocations: 27.38 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.006969, allocations: 0.4962 MB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.006991, allocations: 11.98 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.007024, allocations: 35.36 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.393e-05/0.007078, allocations: 51.25 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.007079, allocations: 0 / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.504e-05/0.007174, allocations: 93.59 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.007185, allocations: 4 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.00719, allocations: 3.984 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.007203, allocations: 4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.007268, allocations: 15.94 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.007273, allocations: 0 / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/0.0073, allocations: 4 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.007305, allocations: 4 kB / 382 MB, free: 14.75 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 (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 7.719e-05/0.007383, allocations: 164.5 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.007399, allocations: 15.95 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.007533, allocations: 119.2 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.007535, allocations: 0 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.007538, allocations: 0 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.007541, allocations: 0 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/0.008065, allocations: 392.9 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008066, allocations: 0 / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.00809, allocations: 12 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008092, allocations: 3.984 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.0081, allocations: 0 / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.008102, allocations: 4 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008103, allocations: 4.031 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.008235, allocations: 259.4 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.008246, allocations: 11.91 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.008262, allocations: 0 / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.919e-05/0.008301, allocations: 7.938 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.008344, allocations: 11.98 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.008355, allocations: 384 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.637e-05/0.008432, allocations: 176.1 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008432, allocations: 0 / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.0086, allocations: 23.94 kB / 383.2 MB, free: 13.48 MB / 362.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.0009462/0.009547, allocations: 445.5 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.009655, allocations: 59.58 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009657, allocations: 0 / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.877e-05/0.009696, allocations: 35.61 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.009912, allocations: 23.98 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.01022, allocations: 222 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.668e-05/0.01025, allocations: 67.47 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.324e-05/0.0103, allocations: 17.27 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.01033, allocations: 16.5 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01033, allocations: 3.938 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of Templates: time 0.003471/0.0138, allocations: 1.873 MB / 385.9 MB, free: 10.86 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.257341624936089]