Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.000996/0.000996, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.00137/0.00137, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.982/0.982, allocations: 177.1 MB / 206 MB, free: 4.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.1349/0.1349, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.973e-05, allocations: 9.688 kB / 377.4 MB, free: 25.53 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002185/0.002205, allocations: 1.75 MB / 379.1 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.003302, allocations: 0.9975 MB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.657e-05/0.003379, allocations: 0 / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.003677, allocations: 87.58 kB / 380.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.003922, allocations: 111.5 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.004053, allocations: 87.59 kB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.004191, allocations: 115.6 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.153e-05/0.004273, allocations: 7.984 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.488e-05/0.004347, allocations: 71.75 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.004431, allocations: 51.88 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.004445, allocations: 4 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.503e-05/0.00451, allocations: 43.92 kB / 380.7 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.004554, allocations: 23.91 kB / 380.7 MB, free: 22.17 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.004583, allocations: 27.86 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.004747, allocations: 103.6 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004748, allocations: 0 / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004749, allocations: 4 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.004754, allocations: 0 / 380.8 MB, free: 22.04 MB / 314.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.0003826/0.005136, allocations: 463.7 kB / 381.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.005169, allocations: 11.98 kB / 381.3 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.005202, allocations: 16.89 kB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.005328, allocations: 160.3 kB / 381.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.005346, allocations: 4.375 kB / 381.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.00536, allocations: 384 / 381.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.323e-05/0.005454, allocations: 66.88 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.005464, allocations: 11.88 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.005471, allocations: 4 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.005477, allocations: 0 / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.005501, allocations: 11.98 kB / 381.6 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.005704, allocations: 264.4 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.097e-05/0.005785, allocations: 47.11 kB / 381.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.005805, allocations: 19.67 kB / 381.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.005816, allocations: 0 / 381.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.224e-05/0.005898, allocations: 68.97 kB / 382 MB, free: 20.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.005899, allocations: 4 kB / 382 MB, free: 20.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002789/0.006178, allocations: 133.4 kB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.0062, allocations: 55.41 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.994e-05/0.00629, allocations: 239.5 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.006298, allocations: 25.7 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.006336, allocations: 158.8 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.006359, allocations: 31.78 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.006387, allocations: 31.36 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.476e-05/0.006441, allocations: 0.4923 MB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.006456, allocations: 11.98 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.006479, allocations: 39.28 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.706e-05/0.006516, allocations: 43.38 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.006517, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.578e-05/0.006593, allocations: 85.5 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.006604, allocations: 9.875 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.006608, allocations: 0 / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.006617, allocations: 0 / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.484e-05/0.006672, allocations: 19.98 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.006676, allocations: 4 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.006701, allocations: 4.031 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.006707, allocations: 4 kB / 383.3 MB, free: 19.32 MB / 314.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 4.921e-05/0.006756, allocations: 172.4 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.006774, allocations: 19.84 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.006891, allocations: 103.2 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.006894, allocations: 0 / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.006896, allocations: 384 / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.0069, allocations: 3.938 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.007084, allocations: 365.5 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.007087, allocations: 8.031 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.007108, allocations: 19.98 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.007111, allocations: 3.984 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/0.007116, allocations: 0 / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007117, allocations: 0 / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007118, allocations: 4 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.487e-05/0.007203, allocations: 251.4 kB / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.007212, allocations: 7.953 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.007227, allocations: 8 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.586e-05/0.007263, allocations: 3.984 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.007286, allocations: 4 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.007296, allocations: 11.98 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.423e-05/0.007341, allocations: 177.6 kB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007341, allocations: 0 / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001526/0.007493, allocations: 23.98 kB / 384.5 MB, free: 18.08 MB / 314.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.0008221/0.008316, allocations: 430 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.159e-05/0.008397, allocations: 43.61 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.008398, allocations: 0 / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.996e-05/0.008428, allocations: 35.72 kB / 385 MB, free: 17.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.008665, allocations: 40.09 kB / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.008921, allocations: 222.6 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.925e-05/0.008951, allocations: 79.19 kB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.985e-05/0.008981, allocations: 20.95 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.009033, allocations: 94.12 kB / 385.4 MB, free: 17.24 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009033, allocations: 0 / 385.4 MB, free: 17.24 MB / 314.7 MB Notification: Performance of Templates: time 0.003715/0.01275, allocations: 2.059 MB / 387.5 MB, free: 15.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.2827271539717913]