Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001247/0.001247, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001303/0.001303, allocations: 168 kB / 24.82 MB, free: 9.258 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.136/1.136, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.314/0.314, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 378.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.566e-05, allocations: 5.828 kB / 378.6 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002862/0.002897, allocations: 1.715 MB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.004697, allocations: 0.9742 MB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.004826, allocations: 7.938 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.005195, allocations: 51.8 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.005576, allocations: 111.4 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.005815, allocations: 75.61 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.005996, allocations: 99.69 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.006044, allocations: 12.17 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.006182, allocations: 51.83 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.006285, allocations: 23.92 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.006305, allocations: 4 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.00641, allocations: 31.97 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.486e-05/0.006475, allocations: 31.86 kB / 381.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.006517, allocations: 15.94 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.006738, allocations: 103.5 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.006742, allocations: 0 / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.006744, allocations: 0 / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.00675, allocations: 0 / 381.9 MB, free: 15.01 MB / 362.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.0004999/0.00725, allocations: 471.7 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.007298, allocations: 12.03 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.007346, allocations: 16.84 kB / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.007533, allocations: 169.2 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.007551, allocations: 384 / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.00756, allocations: 4.375 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.00769, allocations: 58.88 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.007699, allocations: 3.938 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.007706, allocations: 0 / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.007712, allocations: 3.938 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.007735, allocations: 8 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.0079, allocations: 129.2 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.407e-05/0.007994, allocations: 39.11 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.008015, allocations: 11.69 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.008034, allocations: 7.984 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/0.008143, allocations: 68.97 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.008144, allocations: 4 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001766/0.00832, allocations: 89.52 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.008348, allocations: 55.41 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.008491, allocations: 269.6 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.008504, allocations: 25.7 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.008563, allocations: 162.8 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.008594, allocations: 23.88 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.008627, allocations: 27.31 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.008752, allocations: 0.5001 MB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.008773, allocations: 7.984 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/0.008797, allocations: 23.36 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.648e-05/0.008844, allocations: 35.36 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008846, allocations: 4 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.951e-05/0.008935, allocations: 77.53 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.008948, allocations: 4 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.008954, allocations: 4 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.008967, allocations: 3.938 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.009039, allocations: 8 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.009041, allocations: 0 / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.009072, allocations: 7.984 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.009079, allocations: 0 / 384.2 MB, free: 12.49 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 8.367e-05/0.009162, allocations: 168.5 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.00918, allocations: 15.91 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.009315, allocations: 78.98 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.009319, allocations: 7.938 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.009321, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.009325, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.009431, allocations: 133.1 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.009433, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.299e-05/0.009456, allocations: 8.312 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.009459, allocations: 4 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.009467, allocations: 3.984 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.00947, allocations: 11.98 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.009471, allocations: 0 / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.009573, allocations: 120.2 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.009589, allocations: 11.91 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.009606, allocations: 7.984 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.627e-05/0.009632, allocations: 4 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.009656, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.009673, allocations: 11.92 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.407e-05/0.009757, allocations: 184.5 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009757, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.009906, allocations: 20 kB / 384.9 MB, free: 11.65 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.0009255/0.01083, allocations: 391.2 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.01094, allocations: 39.61 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01094, allocations: 4.062 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.01097, allocations: 19.67 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.01117, allocations: 30.98 kB / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.01152, allocations: 234.5 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.812e-05/0.01156, allocations: 71.27 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.351e-05/0.01159, allocations: 8.5 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.01166, allocations: 90.19 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01167, allocations: 4 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of Templates: time 0.00377/0.01544, allocations: 1.816 MB / 387.6 MB, free: 9.066 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.3657533689402044]