Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001494/0.001494, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001591/0.001591, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.501/1.501, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.2242/0.2242, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.172e-05, allocations: 2.281 kB / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003372/0.003404, allocations: 1.72 MB / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.005507, allocations: 0.9774 MB / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.005638, allocations: 3.938 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.00598, allocations: 35.83 kB / 445.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004338/0.006414, allocations: 99.48 kB / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.006723, allocations: 83.53 kB / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.006977, allocations: 111.6 kB / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.007087, allocations: 4 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.007236, allocations: 51.84 kB / 445.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.007339, allocations: 35.89 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.007368, allocations: 4 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.007499, allocations: 39.98 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.007577, allocations: 23.92 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.088e-05/0.007638, allocations: 23.86 kB / 446 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.007936, allocations: 127.5 kB / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.007939, allocations: 0 / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00794, allocations: 0 / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.007945, allocations: 0 / 446.1 MB, free: 1.957 MB / 366.1 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.0006933/0.008639, allocations: 345.6 kB / 446.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.008681, allocations: 12.03 kB / 446.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.008744, allocations: 12.89 kB / 446.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.009023, allocations: 157.5 kB / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.009039, allocations: 384 / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.009067, allocations: 8.312 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.009254, allocations: 62.17 kB / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.009272, allocations: 3.938 kB / 446.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.009285, allocations: 3.938 kB / 446.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.00929, allocations: 0 / 446.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.083e-05/0.009381, allocations: 23.97 kB / 446.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.009815, allocations: 232.6 kB / 446.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.01003, allocations: 54.62 kB / 447 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.856e-05/0.0101, allocations: 24.78 kB / 447 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.01012, allocations: 4 kB / 447 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.01031, allocations: 63.39 kB / 447.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.01031, allocations: 0 / 447.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006584/0.01097, allocations: 189.3 kB / 447.3 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.01103, allocations: 59.39 kB / 447.3 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.01127, allocations: 215 kB / 447.5 MB, free: 384 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.01129, allocations: 25.7 kB / 447.6 MB, free: 352 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.33e-05/0.01138, allocations: 108.1 kB / 447.7 MB, free: 240 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.01143, allocations: 27.78 kB / 447.7 MB, free: 212 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.01147, allocations: 21.72 kB / 447.7 MB, free: 184 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1984/0.2099, allocations: 326.8 kB / 448 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.21, allocations: 17.86 kB / 448 MB, free: 19.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.724e-05/0.2101, allocations: 38.44 kB / 448.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.2102, allocations: 65.16 kB / 448.1 MB, free: 19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2102, allocations: 1.594 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000225/0.2105, allocations: 101.1 kB / 448.3 MB, free: 18.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2105, allocations: 5.562 kB / 448.3 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2105, allocations: 5.484 kB / 448.3 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2105, allocations: 0.9688 kB / 448.3 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.2106, allocations: 25.7 kB / 448.3 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2106, allocations: 4.688 kB / 448.3 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.2107, allocations: 2.781 kB / 448.3 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2107, allocations: 3.938 kB / 448.3 MB, free: 18.97 MB / 366.1 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 8.781e-05/0.2108, allocations: 127.3 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.2108, allocations: 12.53 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.211, allocations: 125.7 kB / 448.6 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.211, allocations: 4.875 kB / 448.6 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.211, allocations: 3.938 kB / 448.6 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.211, allocations: 1.625 kB / 448.6 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.2114, allocations: 343.7 kB / 448.9 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2114, allocations: 2.516 kB / 448.9 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.2115, allocations: 14.62 kB / 448.9 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2115, allocations: 0 / 448.9 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2115, allocations: 10.36 kB / 448.9 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.2115, allocations: 1.984 kB / 448.9 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2115, allocations: 2.156 kB / 448.9 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.2117, allocations: 217.2 kB / 449.1 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.2117, allocations: 9.828 kB / 449.2 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.2118, allocations: 9.625 kB / 449.2 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.2119, allocations: 1.719 kB / 449.2 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.2119, allocations: 13.34 kB / 449.2 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.2119, allocations: 4.156 kB / 449.2 MB, free: 18.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.2121, allocations: 158.7 kB / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2121, allocations: 0 / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004462/0.2125, allocations: 28.97 kB / 449.4 MB, free: 18.36 MB / 366.1 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.00183/0.2144, allocations: 0.4892 MB / 449.9 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.2146, allocations: 65.05 kB / 449.9 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2146, allocations: 3.938 kB / 449.9 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.2146, allocations: 29.03 kB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.215, allocations: 27.64 kB / 450 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.2155, allocations: 250.7 kB / 450.2 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.037e-05/0.2155, allocations: 93.16 kB / 450.3 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.672e-05/0.2156, allocations: 20.78 kB / 450.3 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.2156, allocations: 18.36 kB / 450.4 MB, free: 17.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2156, allocations: 0 / 450.4 MB, free: 17.93 MB / 366.1 MB Notification: Performance of Templates: time 0.005416/0.221, allocations: 1.85 MB / 452.2 MB, free: 17.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.963837865740061]