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.001188/0.001188, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001354/0.001354, allocations: 161 kB / 24.56 MB, free: 16 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.023/1.023, allocations: 177.1 MB / 205 MB, free: 5.633 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.2522/0.2522, allocations: 32.81 MB / 294.3 MB, free: 1.281 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 2.384e-06/2.384e-06, allocations: 0 / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.35e-05, allocations: 2.312 kB / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002639/0.002672, allocations: 1.774 MB / 377.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.004466, allocations: 1.726 MB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.357e-05/0.00455, allocations: 7.938 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.004859, allocations: 27.84 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.005203, allocations: 107.4 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.005364, allocations: 83.61 kB / 379.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.005531, allocations: 115.6 kB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.00563, allocations: 4 kB / 379.9 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.402e-05/0.005724, allocations: 59.83 kB / 380 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.005835, allocations: 35.89 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.005854, allocations: 7.938 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.005997, allocations: 103.8 kB / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.006056, allocations: 23.91 kB / 380.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.006098, allocations: 15.94 kB / 380.2 MB, free: 492 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.006357, allocations: 167.4 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006359, allocations: 0 / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00636, allocations: 0 / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.006365, allocations: 4 kB / 380.3 MB, free: 320 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.0004915/0.006856, allocations: 451.8 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.006893, allocations: 8.031 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.006941, allocations: 8.891 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.007126, allocations: 153 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.007145, allocations: 4.375 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.00717, allocations: 4.359 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.007334, allocations: 119.3 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.007343, allocations: 3.953 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.007354, allocations: 4 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.007361, allocations: 0 / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.556e-05/0.007397, allocations: 11.98 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.00773, allocations: 283.8 kB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.007847, allocations: 55.09 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.007878, allocations: 15.69 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.007894, allocations: 0 / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.008014, allocations: 73.05 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.008015, allocations: 0 / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004205/0.008435, allocations: 157.3 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.00848, allocations: 81.11 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.008623, allocations: 216.8 kB / 382 MB, free: 14.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.008641, allocations: 29.7 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.008702, allocations: 142.9 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.00873, allocations: 23.8 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.008767, allocations: 35.36 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.008904, allocations: 0.4961 MB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/0.008932, allocations: 11.94 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.008984, allocations: 68.75 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.622e-05/0.00906, allocations: 55.75 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.009062, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001381/0.0092, allocations: 93.53 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.009217, allocations: 4 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.009225, allocations: 7.938 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.00924, allocations: 4 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.009328, allocations: 15.98 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.009338, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.949e-05/0.009378, allocations: 4 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.009384, allocations: 4.031 kB / 382.9 MB, free: 13.46 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.0001041/0.009488, allocations: 171.7 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.009509, allocations: 15.95 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.009711, allocations: 106.5 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.009714, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.009719, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.009724, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.01006, allocations: 396.9 kB / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01006, allocations: 0 / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.903e-05/0.01009, allocations: 12.03 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01009, allocations: 4 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.01011, allocations: 4 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01011, allocations: 3.984 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01011, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.01026, allocations: 255.4 kB / 383.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.01027, allocations: 7.953 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.01029, allocations: 4 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.329e-05/0.01033, allocations: 4 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.01037, allocations: 11.92 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.01038, allocations: 4 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.275e-05/0.01046, allocations: 166 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01046, allocations: 0 / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000202/0.01066, allocations: 51.86 kB / 384.1 MB, free: 12.18 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.001201/0.01186, allocations: 0.5379 MB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.01199, allocations: 59.58 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.012, allocations: 0 / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.01204, allocations: 31.67 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.01228, allocations: 31.86 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.01263, allocations: 213.9 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.955e-05/0.01267, allocations: 63.34 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.623e-05/0.01272, allocations: 25.27 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.01275, allocations: 20.48 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01276, allocations: 0 / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Templates: time 0.004722/0.01748, allocations: 2.532 MB / 387.6 MB, free: 8.84 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: 3.3344756392762065]