Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.0009857/0.0009857, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001026/0.001026, allocations: 165 kB / 24.56 MB, free: 12 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 0.9047/0.9047, allocations: 177.1 MB / 205 MB, free: 5.629 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.234/0.234, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.754e-05, allocations: 2.312 kB / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002804/0.002821, allocations: 1.769 MB / 377.9 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.004698, allocations: 1.734 MB / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.00477, allocations: 0 / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.005042, allocations: 35.77 kB / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.005369, allocations: 111.4 kB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.005555, allocations: 75.62 kB / 379.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.005724, allocations: 107.7 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.005815, allocations: 11.98 kB / 379.9 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.18e-05/0.005907, allocations: 59.77 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.006009, allocations: 31.91 kB / 380 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.006028, allocations: 4 kB / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.006192, allocations: 107.8 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.006241, allocations: 23.91 kB / 380.2 MB, free: 496 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.006283, allocations: 23.92 kB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.006534, allocations: 159.5 kB / 380.4 MB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.006537, allocations: 0 / 380.4 MB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.006538, allocations: 0 / 380.4 MB, free: 312 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.006542, allocations: 0 / 380.4 MB, free: 312 kB / 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.0005183/0.00706, allocations: 451.8 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.007098, allocations: 12.03 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.007153, allocations: 12.88 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.007352, allocations: 152.9 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.00737, allocations: 4.375 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.007391, allocations: 4.375 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.007548, allocations: 111.4 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.007558, allocations: 3.953 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.00757, allocations: 4 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.007576, allocations: 0 / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.881e-05/0.007615, allocations: 15.98 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.007912, allocations: 283.7 kB / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.008024, allocations: 47.17 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.008059, allocations: 23.67 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.00807, allocations: 0 / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.875e-05/0.008169, allocations: 69.05 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.00817, allocations: 0 / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003991/0.008569, allocations: 153.3 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.008605, allocations: 85.05 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.008749, allocations: 220 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.008764, allocations: 29.7 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.008816, allocations: 146.8 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.008846, allocations: 31.77 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.008885, allocations: 23.38 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.009013, allocations: 0.5 MB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.009041, allocations: 15.98 kB / 382.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.183e-05/0.009093, allocations: 69.12 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.627e-05/0.009159, allocations: 51.31 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.00916, allocations: 0 / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001302/0.00929, allocations: 89.59 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.009302, allocations: 4 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.009306, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.009318, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.009393, allocations: 27.98 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.009398, allocations: 4 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.009432, allocations: 0 / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.00944, allocations: 4 kB / 383 MB, free: 13.45 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.697e-05/0.009516, allocations: 168.5 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.009538, allocations: 11.95 kB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.009698, allocations: 102.5 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.009705, allocations: 7.984 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.009708, allocations: 0 / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.009711, allocations: 0 / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.01002, allocations: 392.9 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01002, allocations: 0 / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.01005, allocations: 15.98 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01005, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.01006, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.01006, allocations: 4 kB / 383.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01007, allocations: 7.922 kB / 383.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.01023, allocations: 255.5 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.01025, allocations: 7.953 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.01027, allocations: 3.938 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.343e-05/0.01033, allocations: 16.02 kB / 383.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.01036, allocations: 3.938 kB / 383.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.01037, allocations: 7.984 kB / 383.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.499e-05/0.01046, allocations: 166 kB / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01046, allocations: 3.938 kB / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002776/0.01074, allocations: 43.86 kB / 384.1 MB, free: 12.16 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.0014/0.01214, allocations: 0.5403 MB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.01227, allocations: 51.59 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01227, allocations: 0 / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.705e-05/0.01232, allocations: 43.67 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.01261, allocations: 35.91 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.01293, allocations: 197.9 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.985e-05/0.01297, allocations: 67.34 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.916e-05/0.01302, allocations: 21.27 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.01306, allocations: 24.5 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01306, allocations: 4.062 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of Templates: time 0.00503/0.01809, allocations: 2.748 MB / 387.9 MB, free: 8.605 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.926562998909503]