Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.0009389/0.0009389, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001051/0.001051, allocations: 171.9 kB / 24.82 MB, free: 8.91 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.9574/0.9574, allocations: 177.2 MB / 205.3 MB, free: 5.504 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.2516/0.2516, allocations: 32.8 MB / 294.6 MB, free: 1.164 MB / 266.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 376.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.641e-05, allocations: 9.344 kB / 376.6 MB, free: 4.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002394/0.002421, allocations: 1.758 MB / 378.3 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.003671, allocations: 0.9936 MB / 379.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.003763, allocations: 0 / 379.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.004051, allocations: 39.7 kB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.004369, allocations: 99.47 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.004571, allocations: 83.59 kB / 379.5 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.004732, allocations: 95.7 kB / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.004827, allocations: 19.97 kB / 379.7 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.004917, allocations: 55.78 kB / 379.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.579e-05/0.004993, allocations: 27.91 kB / 379.7 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.005009, allocations: 4 kB / 379.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.931e-05/0.005098, allocations: 47.91 kB / 379.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.005146, allocations: 15.94 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.005183, allocations: 23.86 kB / 379.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.005358, allocations: 99.59 kB / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.005359, allocations: 0 / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.00536, allocations: 0 / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.005364, allocations: 0 / 379.9 MB, free: 0.9102 MB / 346.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.0004066/0.005771, allocations: 447.9 kB / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.005806, allocations: 12.03 kB / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.005842, allocations: 8.891 kB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.005979, allocations: 152.4 kB / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.005994, allocations: 4.375 kB / 380.5 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.006008, allocations: 384 / 380.5 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.887e-05/0.006107, allocations: 62.94 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.006118, allocations: 7.875 kB / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.006125, allocations: 0 / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.00613, allocations: 3.938 kB / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.468e-05/0.006155, allocations: 15.98 kB / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.006396, allocations: 256.4 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.942e-05/0.006476, allocations: 43.17 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.006499, allocations: 27.61 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.006513, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.925e-05/0.006603, allocations: 64.98 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.006603, allocations: 0 / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002926/0.006896, allocations: 137.7 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.006922, allocations: 55.41 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.007029, allocations: 222.5 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.007042, allocations: 33.7 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.007095, allocations: 150.8 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.007118, allocations: 27.73 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.007149, allocations: 31.36 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.00726, allocations: 0.4962 MB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.007276, allocations: 8.062 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.007302, allocations: 35.3 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/0.007344, allocations: 47.36 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.007345, allocations: 7.984 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.644e-05/0.007432, allocations: 81.52 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.007442, allocations: 4 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007446, allocations: 0 / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.007458, allocations: 4 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/0.007511, allocations: 16 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.007514, allocations: 3.984 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.00754, allocations: 4 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.007545, allocations: 0 / 382.4 MB, free: 14.26 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 (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 7.584e-05/0.007621, allocations: 168.5 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.00764, allocations: 19.84 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.007762, allocations: 99.27 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.007764, allocations: 3.938 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.007765, allocations: 0 / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.007769, allocations: 0 / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.008001, allocations: 361.6 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008003, allocations: 3.984 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.008026, allocations: 11.94 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.008029, allocations: 3.984 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.008036, allocations: 12.03 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.008037, allocations: 0 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.008038, allocations: 0 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.008162, allocations: 259.4 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.008171, allocations: 3.953 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.008186, allocations: 7.984 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.008225, allocations: 4 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.008245, allocations: 7.984 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.008256, allocations: 4 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.716e-05/0.008313, allocations: 159.8 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008313, allocations: 4 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.008473, allocations: 23.94 kB / 383.5 MB, free: 13.05 MB / 362.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.00086/0.009333, allocations: 436.1 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.056e-05/0.009424, allocations: 43.67 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009426, allocations: 0 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.516e-05/0.009461, allocations: 35.59 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.009684, allocations: 39.14 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.009973, allocations: 218.4 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.407e-05/0.01002, allocations: 63.34 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.519e-05/0.01005, allocations: 17.27 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.01012, allocations: 90.19 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01012, allocations: 3.938 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of Templates: time 0.003209/0.01333, allocations: 2.038 MB / 386.5 MB, free: 10.21 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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: 2.9465215923264623]