Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.0009976/0.0009976, allocations: 87.56 kB / 21.19 MB, free: 3.402 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.0009812/0.0009812, allocations: 161 kB / 24.56 MB, free: 40 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.9135/0.9135, allocations: 177.1 MB / 205 MB, free: 5.637 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.282/0.282, allocations: 32.81 MB / 294.3 MB, free: 0.75 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 376.1 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.958e-05, allocations: 6.25 kB / 376.1 MB, free: 4.449 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002288/0.002308, allocations: 1.773 MB / 377.9 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.0035, allocations: 1.009 MB / 378.9 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.00356, allocations: 0 / 378.9 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.003789, allocations: 43.72 kB / 378.9 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.004043, allocations: 111.5 kB / 379 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.004217, allocations: 79.59 kB / 379.1 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.004364, allocations: 107.7 kB / 379.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.00446, allocations: 7.984 kB / 379.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.176e-05/0.004541, allocations: 55.78 kB / 379.3 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.004603, allocations: 23.91 kB / 379.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.004617, allocations: 4 kB / 379.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.977e-05/0.004687, allocations: 43.92 kB / 379.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.004729, allocations: 35.86 kB / 379.4 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.004762, allocations: 23.91 kB / 379.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.00491, allocations: 103.6 kB / 379.5 MB, free: 1.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004912, allocations: 0 / 379.5 MB, free: 1.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004912, allocations: 4 kB / 379.5 MB, free: 1.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.004916, allocations: 0 / 379.5 MB, free: 1.016 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.0003998/0.005316, allocations: 459.7 kB / 380 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.005346, allocations: 8.031 kB / 380 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.005394, allocations: 24.83 kB / 380 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.005553, allocations: 157.2 kB / 380.2 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.005569, allocations: 4.375 kB / 380.2 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.005588, allocations: 4.375 kB / 380.2 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.005699, allocations: 62.88 kB / 380.2 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.005707, allocations: 3.938 kB / 380.2 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.005715, allocations: 4 kB / 380.2 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.00572, allocations: 0 / 380.2 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.994e-05/0.00575, allocations: 15.98 kB / 380.2 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.006024, allocations: 287.8 kB / 380.5 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.006129, allocations: 59.11 kB / 380.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.006158, allocations: 23.61 kB / 380.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.006167, allocations: 0 / 380.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.307e-05/0.00626, allocations: 69.05 kB / 380.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.006261, allocations: 0 / 380.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003284/0.006589, allocations: 165.3 kB / 380.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.006615, allocations: 51.41 kB / 380.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.006753, allocations: 263.1 kB / 381.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.006766, allocations: 25.7 kB / 381.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.006827, allocations: 154.9 kB / 381.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.006853, allocations: 27.78 kB / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.006882, allocations: 31.38 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.006992, allocations: 0.5001 MB / 381.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.007013, allocations: 15.94 kB / 381.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.751e-05/0.007051, allocations: 39.3 kB / 381.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.255e-05/0.007114, allocations: 55.66 kB / 382 MB, free: 14.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.007115, allocations: 0 / 382 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001071/0.007222, allocations: 89.53 kB / 382.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.007233, allocations: 8 kB / 382.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.007238, allocations: 4 kB / 382.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.00725, allocations: 4.031 kB / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/0.007323, allocations: 15.98 kB / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.007328, allocations: 4 kB / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.761e-05/0.007356, allocations: 4 kB / 382.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.007363, allocations: 4 kB / 382.1 MB, free: 14.19 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.768e-05/0.007441, allocations: 168.5 kB / 382.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.007458, allocations: 15.91 kB / 382.3 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.007608, allocations: 107.2 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.007611, allocations: 4 kB / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.007614, allocations: 0 / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.007618, allocations: 4 kB / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.007909, allocations: 404.9 kB / 382.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.007911, allocations: 0 / 382.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.007935, allocations: 8 kB / 382.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.007938, allocations: 4 kB / 382.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.007944, allocations: 0 / 382.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.007948, allocations: 3.984 kB / 382.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007948, allocations: 0 / 382.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.008148, allocations: 267.4 kB / 383.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.008165, allocations: 15.94 kB / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.008182, allocations: 0 / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.285e-05/0.008235, allocations: 8 kB / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.008261, allocations: 7.984 kB / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.008272, allocations: 0 / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.686e-05/0.008359, allocations: 187.1 kB / 383.3 MB, free: 12.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008359, allocations: 0 / 383.3 MB, free: 12.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.008522, allocations: 27.94 kB / 383.3 MB, free: 12.89 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.0008488/0.00937, allocations: 441.3 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.009484, allocations: 55.61 kB / 383.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.009485, allocations: 0 / 383.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.552e-05/0.009521, allocations: 27.67 kB / 383.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.009734, allocations: 34.47 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.01005, allocations: 241.5 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.453e-05/0.0101, allocations: 75.27 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.533e-05/0.01013, allocations: 21.39 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.01016, allocations: 20.5 kB / 384.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01016, allocations: 0 / 384.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of Templates: time 0.003387/0.01355, allocations: 2.018 MB / 386.2 MB, free: 10.11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.0363497748039663]