Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001837/0.001837, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.002243/0.002243, allocations: 161.7 kB / 24.27 MB, free: 168 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.491/1.491, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3574/0.3574, allocations: 32.79 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.151e-05, allocations: 2.312 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003525/0.003557, allocations: 1.727 MB / 377.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.006476, allocations: 1.672 MB / 378.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.006556, allocations: 0 / 378.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.006896, allocations: 47.7 kB / 378.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004221/0.007318, allocations: 107.3 kB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.007552, allocations: 75.61 kB / 379 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.007769, allocations: 111.7 kB / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.441e-05/0.007863, allocations: 4 kB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.007989, allocations: 63.77 kB / 379.1 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.008216, allocations: 31.89 kB / 379.2 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.00824, allocations: 8 kB / 379.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.00844, allocations: 99.81 kB / 379.3 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.008507, allocations: 23.92 kB / 379.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.916e-05/0.008566, allocations: 27.91 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.008897, allocations: 175.4 kB / 379.5 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.008902, allocations: 0 / 379.5 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008903, allocations: 0 / 379.5 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.008907, allocations: 0 / 379.5 MB, free: 0.7188 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.0007065/0.009614, allocations: 353.5 kB / 379.9 MB, free: 352 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.009654, allocations: 8.031 kB / 379.9 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.009726, allocations: 16.89 kB / 379.9 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.01005, allocations: 146.2 kB / 380 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.01006, allocations: 384 / 380 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.01009, allocations: 12.31 kB / 380 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.01031, allocations: 101 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.01032, allocations: 0 / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.01033, allocations: 0 / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.01034, allocations: 3.984 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.01045, allocations: 24.06 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.01088, allocations: 236.4 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.0111, allocations: 62.61 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.96e-05/0.01117, allocations: 16.86 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.01119, allocations: 4 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.01137, allocations: 71.38 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.01137, allocations: 0 / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006852/0.01205, allocations: 181.3 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.01212, allocations: 77.11 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.01234, allocations: 166.5 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.01237, allocations: 33.64 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.01246, allocations: 108 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.0125, allocations: 23.8 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.01255, allocations: 29.7 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.01273, allocations: 322.8 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.576e-05/0.01279, allocations: 20 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.01291, allocations: 72.25 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.01305, allocations: 57.72 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01305, allocations: 0 / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002332/0.01328, allocations: 113.5 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.0133, allocations: 8 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01331, allocations: 448 / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.01333, allocations: 4 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.01343, allocations: 19.92 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.01344, allocations: 8 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.01349, allocations: 0 / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.01351, allocations: 8 kB / 381.8 MB, free: 14.24 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 0.000131/0.01364, allocations: 125.8 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.01367, allocations: 7.953 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.01398, allocations: 122.5 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.01398, allocations: 4 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01399, allocations: 4 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01399, allocations: 0 / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.01452, allocations: 350.9 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01452, allocations: 0 / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.01457, allocations: 8 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01457, allocations: 0 / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.01458, allocations: 7.984 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01458, allocations: 0 / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01459, allocations: 0 / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.01492, allocations: 216.2 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.01496, allocations: 15.95 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.01499, allocations: 7.984 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.01509, allocations: 0 / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.01514, allocations: 15.86 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.01516, allocations: 8 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.0153, allocations: 135.2 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0153, allocations: 3.938 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.01564, allocations: 47.86 kB / 382.8 MB, free: 13.11 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.002722/0.01836, allocations: 0.5899 MB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.01859, allocations: 59.84 kB / 383.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.01859, allocations: 4 kB / 383.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.01868, allocations: 31.92 kB / 383.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.01907, allocations: 31.17 kB / 383.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.01964, allocations: 217.5 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.01975, allocations: 85.44 kB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.142e-05/0.01983, allocations: 16.95 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.01989, allocations: 24.48 kB / 383.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01989, allocations: 0 / 383.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of Templates: time 0.007161/0.02705, allocations: 2.538 MB / 386.4 MB, free: 9.754 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.9223861451027915]