Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.000988/0.000988, allocations: 79.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.0009975/0.0009975, allocations: 161 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.9958/0.9958, 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.252/0.252, 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.225e-05, allocations: 2.312 kB / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003309/0.003331, allocations: 1.774 MB / 377.9 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.005056, allocations: 1.004 MB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.005143, allocations: 4 kB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.005479, allocations: 47.69 kB / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.005838, allocations: 95.48 kB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.006061, allocations: 83.66 kB / 379.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.006259, allocations: 107.6 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.00636, allocations: 15.98 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.006463, allocations: 47.84 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.401e-05/0.006547, allocations: 31.89 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.006568, allocations: 4 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.006684, allocations: 51.86 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.084e-05/0.006745, allocations: 15.94 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.006792, allocations: 23.91 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.007011, allocations: 103.6 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.007014, allocations: 0 / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007014, allocations: 0 / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.007018, allocations: 0 / 379.5 MB, free: 1.156 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.0005392/0.007558, allocations: 455.8 kB / 379.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.007598, allocations: 8.031 kB / 380 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.007659, allocations: 12.89 kB / 380 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.007884, allocations: 164.8 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.007906, allocations: 384 / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.007937, allocations: 8.359 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.008097, allocations: 62.94 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.00811, allocations: 3.938 kB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.008121, allocations: 0 / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.008129, allocations: 0 / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.093e-05/0.00818, allocations: 16 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.008573, allocations: 287.8 kB / 380.5 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.008732, allocations: 51.16 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.008778, allocations: 23.56 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.008796, allocations: 4 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.00892, allocations: 65.05 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.008922, allocations: 0 / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005227/0.009444, allocations: 161.3 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.009486, allocations: 59.34 kB / 380.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.009662, allocations: 237.9 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.009676, allocations: 25.7 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.009735, allocations: 154.8 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.009763, allocations: 27.78 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.009798, allocations: 31.38 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.009914, allocations: 0.5001 MB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.009939, allocations: 8 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.998e-05/0.009979, allocations: 35.36 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.977e-05/0.01004, allocations: 55.23 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.01004, allocations: 4 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001048/0.01015, allocations: 89.61 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.01016, allocations: 4 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01016, allocations: 384 / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.01018, allocations: 4 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.01025, allocations: 15.94 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.01025, allocations: 4 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.216e-05/0.01028, allocations: 15.94 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.01029, allocations: 0 / 382 MB, free: 14.38 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 6.701e-05/0.01036, allocations: 168.5 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.01037, allocations: 11.95 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.01053, allocations: 111.2 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01053, allocations: 0 / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.01053, allocations: 0 / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.01054, allocations: 0 / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.01082, allocations: 400.9 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01082, allocations: 3.984 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.01084, allocations: 8 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.01085, allocations: 0 / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.01085, allocations: 8.031 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01086, allocations: 0 / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01086, allocations: 3.938 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.01099, allocations: 255.4 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.011, allocations: 11.91 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.01102, allocations: 11.98 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.883e-05/0.01106, allocations: 0 / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.01109, allocations: 11.92 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.0111, allocations: 4 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.584e-05/0.01118, allocations: 180.1 kB / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01118, allocations: 0 / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.01136, allocations: 35.92 kB / 383.2 MB, free: 13.09 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.000923/0.01228, allocations: 435.1 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.0124, allocations: 47.61 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.0124, allocations: 0 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.849e-05/0.01244, allocations: 31.61 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.01266, allocations: 35.95 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.013, allocations: 234 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.243e-05/0.01305, allocations: 67.33 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.099e-05/0.01309, allocations: 17.27 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.01312, allocations: 16.5 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01312, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of Templates: time 0.003872/0.01699, allocations: 1.876 MB / 386 MB, free: 10.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.3554109260439873]