Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.0008264/0.0008264, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001848, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006946/0.0006946, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008782/0.001573, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.118/1.118, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1342/1.253, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3399/0.3399, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03554/0.3754, allocations: 12.53 MB / 289.3 MB, free: 8.668 MB / 282.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 290.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.125e-05/4.337e-05, allocations: 5.438 kB / 290.7 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004371/0.004414, allocations: 1.979 MB / 292.7 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.00683, allocations: 1.125 MB / 293.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.006986, allocations: 4 kB / 293.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005843/0.00757, allocations: 303 kB / 294.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006109/0.008181, allocations: 251 kB / 294.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.008592, allocations: 119.5 kB / 294.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.009048, allocations: 271.2 kB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.009192, allocations: 22.61 kB / 294.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.009584, allocations: 216.8 kB / 295 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.009838, allocations: 147.6 kB / 295.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.009868, allocations: 12 kB / 295.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.01006, allocations: 71.89 kB / 295.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-05/0.01015, allocations: 59.8 kB / 295.3 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.236e-05/0.01022, allocations: 39.81 kB / 295.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.01062, allocations: 199.1 kB / 295.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.251e-05/0.01064, allocations: 0 / 295.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01064, allocations: 0 / 295.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.01067, allocations: 3.984 kB / 295.5 MB, free: 3.402 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008772/0.01155, allocations: 0.5225 MB / 296 MB, free: 2.855 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.01159, allocations: 16.02 kB / 296 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.01167, allocations: 24.92 kB / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.01201, allocations: 228 kB / 296.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.01204, allocations: 4.375 kB / 296.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.01207, allocations: 12.36 kB / 296.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.01231, allocations: 107.4 kB / 296.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.01232, allocations: 3.938 kB / 296.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.01234, allocations: 4 kB / 296.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.01235, allocations: 0 / 296.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.054e-05/0.01243, allocations: 29.58 kB / 296.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.01291, allocations: 308.8 kB / 296.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.01327, allocations: 186.6 kB / 296.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.01333, allocations: 33.89 kB / 297 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.01334, allocations: 3.984 kB / 297 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.01356, allocations: 109.3 kB / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.01356, allocations: 0 / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.001075/0.01463, allocations: 328.3 kB / 297.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.01469, allocations: 85.05 kB / 297.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.01504, allocations: 357.1 kB / 297.8 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.01506, allocations: 25.7 kB / 297.8 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.01515, allocations: 129.5 kB / 298 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.162e-05/0.01523, allocations: 71.42 kB / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.0153, allocations: 45.67 kB / 298.1 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.01544, allocations: 350.7 kB / 298.4 MB, free: 276 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.0155, allocations: 22.83 kB / 298.4 MB, free: 252 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.305e-05/0.01557, allocations: 62.03 kB / 298.5 MB, free: 180 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.01571, allocations: 103.5 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01571, allocations: 0 / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000247/0.01596, allocations: 138.4 kB / 298.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.01599, allocations: 8 kB / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.01599, allocations: 0 / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01601, allocations: 0 / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.01617, allocations: 51.91 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.01618, allocations: 4.062 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.014e-05/0.01627, allocations: 23.81 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.01628, allocations: 4 kB / 298.8 MB, free: 15.83 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001251/0.01641, allocations: 128.7 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.01645, allocations: 23.97 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.01674, allocations: 161.1 kB / 299.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01675, allocations: 0 / 299.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.01675, allocations: 7.984 kB / 299.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.01676, allocations: 0 / 299.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007068/0.01747, allocations: 0.5672 MB / 299.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.01747, allocations: 0 / 299.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.01758, allocations: 35.98 kB / 299.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.01763, allocations: 35.69 kB / 299.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.01764, allocations: 4 kB / 299.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.01766, allocations: 8 kB / 299.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.01766, allocations: 3.938 kB / 299.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.01767, allocations: 7.938 kB / 299.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.01804, allocations: 424 kB / 300.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.01808, allocations: 8 kB / 300.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.01823, allocations: 11.98 kB / 300.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.01828, allocations: 23.91 kB / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.01832, allocations: 12 kB / 300.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001928/0.01851, allocations: 159.6 kB / 300.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.01851, allocations: 0 / 300.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003562/0.01887, allocations: 51.92 kB / 300.5 MB, free: 14.1 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002695/0.02156, allocations: 0.7276 MB / 301.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.02182, allocations: 96.69 kB / 301.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.981e-05/0.02184, allocations: 4 kB / 301.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.02195, allocations: 64.83 kB / 301.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.0225, allocations: 88.73 kB / 301.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.02378, allocations: 0.521 MB / 302 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.02389, allocations: 100.3 kB / 302.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.02401, allocations: 45.91 kB / 302.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.02418, allocations: 99.34 kB / 302.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of SimCode: time 1.443e-06/0.02418, allocations: 0 / 302.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of Templates: time 0.01004/0.03422, allocations: 3.711 MB / 305.9 MB, free: 9.047 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.3034678753465414]