Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00106/0.00106, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001345/0.001345, allocations: 167.5 kB / 24.81 MB, free: 9.285 MB / 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2971/0.2971, allocations: 34.27 MB / 296.1 MB, free: 0.7305 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.992e-05, allocations: 6.25 kB / 378.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002559/0.002589, allocations: 1.757 MB / 380.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.004331, allocations: 1.722 MB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.00442, allocations: 7.938 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.004771, allocations: 39.77 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.005118, allocations: 103.4 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.005296, allocations: 79.66 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.005458, allocations: 111.6 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.005555, allocations: 11.98 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.544e-05/0.00565, allocations: 59.78 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.005756, allocations: 31.89 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.005773, allocations: 4 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.005925, allocations: 103.8 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.005975, allocations: 19.92 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.006012, allocations: 27.91 kB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.006239, allocations: 167.4 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.006241, allocations: 0 / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006242, allocations: 0 / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.006247, allocations: 0 / 382.8 MB, free: 14.06 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.0005192/0.006766, allocations: 443.8 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.006811, allocations: 11.97 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.006852, allocations: 20.88 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.007017, allocations: 148 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.007033, allocations: 4.375 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.00705, allocations: 4.375 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.007198, allocations: 111.3 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.007213, allocations: 7.953 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.007221, allocations: 0 / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.007225, allocations: 0 / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.876e-05/0.007254, allocations: 11.98 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.007532, allocations: 256.4 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.007633, allocations: 63.03 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.007657, allocations: 15.67 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.007675, allocations: 8 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.007776, allocations: 65.05 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.007779, allocations: 0 / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003592/0.008138, allocations: 141.4 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.008189, allocations: 77.11 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.008321, allocations: 216.8 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.008337, allocations: 25.7 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.008401, allocations: 146.8 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.008431, allocations: 23.8 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.008471, allocations: 35.34 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.008634, allocations: 0.5 MB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.008657, allocations: 11.94 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.893e-05/0.008716, allocations: 68.73 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.957e-05/0.008786, allocations: 43.42 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.008787, allocations: 0 / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001431/0.008931, allocations: 89.52 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.008944, allocations: 8 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.008951, allocations: 0 / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.008963, allocations: 64 / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.695e-05/0.00904, allocations: 16 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.009048, allocations: 11.92 kB / 385.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.714e-05/0.009085, allocations: 0 / 385.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.009092, allocations: 7.938 kB / 385.4 MB, free: 11.27 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 9.73e-05/0.00919, allocations: 164.5 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.009211, allocations: 11.95 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.009373, allocations: 98.38 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.009376, allocations: 4 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.009378, allocations: 0 / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.009381, allocations: 4 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.009709, allocations: 361.5 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.009711, allocations: 0 / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.009743, allocations: 12.38 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.009745, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.009754, allocations: 3.984 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.009757, allocations: 4 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009758, allocations: 4 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.009931, allocations: 255.4 kB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.009947, allocations: 11.95 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.009964, allocations: 4.031 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.01002, allocations: 4 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.01006, allocations: 11.98 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.01007, allocations: 0 / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.34e-05/0.01015, allocations: 157.6 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01015, allocations: 3.938 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.01043, allocations: 55.8 kB / 386.5 MB, free: 10.04 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.001282/0.01171, allocations: 0.538 MB / 387 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.01183, allocations: 55.52 kB / 387.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01183, allocations: 4.062 kB / 387.1 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.98e-05/0.01187, allocations: 27.67 kB / 387.1 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.01215, allocations: 27.98 kB / 387.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.01248, allocations: 201.9 kB / 387.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.627e-05/0.01253, allocations: 67.33 kB / 387.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.01258, allocations: 17.28 kB / 387.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.177e-05/0.01267, allocations: 98.23 kB / 387.5 MB, free: 9.152 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01267, allocations: 0 / 387.5 MB, free: 9.152 MB / 362.7 MB Notification: Performance of Templates: time 0.005074/0.01774, allocations: 2.784 MB / 390.3 MB, free: 6.398 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.2748900610022247]