Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001012/0.001012, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001031/0.001031, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.043/1.043, allocations: 177.1 MB / 205 MB, free: 5.617 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.2794/0.2794, allocations: 34.26 MB / 295.7 MB, free: 0.7734 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.727e-05, allocations: 2.312 kB / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00247/0.002487, allocations: 1.785 MB / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.003628, allocations: 1.005 MB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.0037, allocations: 4 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.004004, allocations: 95.56 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.00431, allocations: 119.5 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.004498, allocations: 79.55 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.004665, allocations: 127.6 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.004753, allocations: 7.984 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.573e-05/0.004849, allocations: 71.75 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.004938, allocations: 55.86 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.004953, allocations: 8 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.323e-05/0.005046, allocations: 59.92 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.005096, allocations: 27.91 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.005137, allocations: 23.88 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.00534, allocations: 111.6 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.005343, allocations: 3.938 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005344, allocations: 0 / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.005349, allocations: 0 / 381.7 MB, free: 14.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005117/0.005861, allocations: 475.6 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.005897, allocations: 8.031 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.005949, allocations: 16.84 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.006117, allocations: 160.4 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.006135, allocations: 4.359 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.006154, allocations: 4.375 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.00627, allocations: 62.94 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.006281, allocations: 7.875 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.00629, allocations: 0 / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.006299, allocations: 4 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.754e-05/0.006336, allocations: 15.98 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.006623, allocations: 295.8 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.006798, allocations: 66.92 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.006827, allocations: 15.67 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.006838, allocations: 4 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.269e-05/0.006931, allocations: 69.17 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.006932, allocations: 0 / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005027/0.007435, allocations: 225.2 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.007468, allocations: 59.39 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.00761, allocations: 238.7 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.007624, allocations: 33.7 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.007693, allocations: 158.9 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.007722, allocations: 35.64 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.007773, allocations: 39.36 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.007906, allocations: 0.5 MB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.435e-05/0.007941, allocations: 23.98 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/0.007983, allocations: 39.36 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.246e-05/0.008055, allocations: 63.41 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.008056, allocations: 0 / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001283/0.008185, allocations: 121.5 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.008198, allocations: 4 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.008202, allocations: 0 / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.008216, allocations: 4 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/0.008272, allocations: 23.92 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.008276, allocations: 0 / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.008305, allocations: 4 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.008312, allocations: 4 kB / 384.4 MB, free: 11.99 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 (13): * Single equations (assignments): 13 * 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.434e-05/0.008396, allocations: 172.5 kB / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.008419, allocations: 19.91 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.008597, allocations: 127.1 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008599, allocations: 3.938 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.008603, allocations: 4 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.008608, allocations: 3.984 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.008985, allocations: 440.6 kB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.008988, allocations: 3.938 kB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.009032, allocations: 15.94 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.009036, allocations: 4 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.009048, allocations: 4 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.009051, allocations: 8.062 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.009055, allocations: 3.938 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.009274, allocations: 283.1 kB / 385.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.00929, allocations: 11.91 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.009313, allocations: 4 kB / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.009379, allocations: 8 kB / 385.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.009421, allocations: 15.91 kB / 385.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.009437, allocations: 4 kB / 385.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.009542, allocations: 181.1 kB / 385.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009542, allocations: 0 / 385.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002833/0.009826, allocations: 35.92 kB / 385.8 MB, free: 10.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001155/0.01098, allocations: 493.5 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.01113, allocations: 67.59 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01113, allocations: 4.062 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.783e-05/0.01119, allocations: 43.59 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.01149, allocations: 30.64 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003947/0.01189, allocations: 272.4 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.955e-05/0.01194, allocations: 71.33 kB / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.893e-05/0.01198, allocations: 24.75 kB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.01202, allocations: 20.5 kB / 386.8 MB, free: 9.691 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01203, allocations: 0 / 386.8 MB, free: 9.691 MB / 362.7 MB Notification: Performance of Templates: time 0.004527/0.01655, allocations: 2.272 MB / 389 MB, free: 7.457 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.2461773068644106]