Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001121/0.001121, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001829/0.001829, 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.9964/0.9964, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2722/0.2722, allocations: 34.26 MB / 295.7 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.479e-06/4.479e-06, allocations: 4 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.755e-05, allocations: 2.312 kB / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002412/0.00244, allocations: 1.766 MB / 379.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.003739, allocations: 1.013 MB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.429e-05/0.003823, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.004129, allocations: 63.62 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.004477, allocations: 99.52 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.004693, allocations: 71.69 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.004863, allocations: 115.5 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.004949, allocations: 8 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.005037, allocations: 59.77 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.235e-05/0.00511, allocations: 27.91 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.005126, allocations: 4 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.42e-05/0.00522, allocations: 43.92 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.005279, allocations: 31.91 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.005321, allocations: 23.86 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.005507, allocations: 107.6 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.00551, allocations: 0 / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.005511, allocations: 4 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.005515, allocations: 0 / 381.5 MB, free: 15.11 MB / 362.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.000459/0.005974, allocations: 483.6 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.006011, allocations: 8.031 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.00606, allocations: 16.84 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.006253, allocations: 165.2 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.006272, allocations: 8.375 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.006295, allocations: 384 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.006422, allocations: 62.94 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.006431, allocations: 3.938 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.00644, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.006446, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.471e-05/0.006481, allocations: 19.97 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.006796, allocations: 303.8 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.006896, allocations: 51.17 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.006925, allocations: 15.62 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.006939, allocations: 4 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.653e-05/0.007035, allocations: 72.98 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.007036, allocations: 0 / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004355/0.007472, allocations: 173.2 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.007504, allocations: 59.41 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.007668, allocations: 277.6 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.007682, allocations: 29.7 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.007745, allocations: 162.9 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.007772, allocations: 27.78 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.007806, allocations: 27.38 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.007936, allocations: 0.504 MB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.733e-05/0.007963, allocations: 11.98 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.528e-05/0.007998, allocations: 35.36 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.693e-05/0.008055, allocations: 51.25 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.008056, allocations: 4 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001249/0.008181, allocations: 93.64 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.008197, allocations: 11.98 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.008202, allocations: 3.938 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.008217, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.008288, allocations: 12 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.008293, allocations: 0 / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.008323, allocations: 8 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.008331, allocations: 7.984 kB / 384.2 MB, free: 12.21 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.0001024/0.008433, allocations: 172.1 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.008451, allocations: 15.91 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.008605, allocations: 111 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.008607, allocations: 0 / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.00861, allocations: 0 / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008613, allocations: 0 / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.008904, allocations: 405 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.008906, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.689e-05/0.008933, allocations: 8 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.008936, allocations: 4 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.008943, allocations: 7.969 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.008946, allocations: 3.984 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.008947, allocations: 0 / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.009154, allocations: 267.4 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.009168, allocations: 11.91 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.009185, allocations: 0 / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.347e-05/0.009229, allocations: 4 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.009265, allocations: 16.34 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.009278, allocations: 7.938 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.893e-05/0.009377, allocations: 196.5 kB / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009377, allocations: 4 kB / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001878/0.009565, allocations: 27.92 kB / 385.5 MB, free: 10.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.001077/0.01064, allocations: 434.3 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.01077, allocations: 59.58 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01078, allocations: 0 / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.034e-05/0.01082, allocations: 31.62 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.01107, allocations: 37.16 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.01144, allocations: 262.6 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.386e-05/0.01148, allocations: 71.33 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.634e-05/0.01152, allocations: 16.95 kB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.01155, allocations: 16.5 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01155, allocations: 0 / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of Templates: time 0.003759/0.01531, allocations: 1.892 MB / 388.3 MB, free: 8.219 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.2008234481327236]