Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001171/0.001171, allocations: 83.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.001291/0.001291, 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.9396/0.9396, 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.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.2468/0.2468, allocations: 32.81 MB / 294.3 MB, free: 1.191 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.693e-05, allocations: 6.25 kB / 376.1 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.005231/0.005258, allocations: 1.766 MB / 377.9 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.00638, allocations: 1.009 MB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.35e-05/0.006453, allocations: 3.938 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.006727, allocations: 31.78 kB / 378.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.00703, allocations: 99.47 kB / 379 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.007237, allocations: 87.59 kB / 379.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.007395, allocations: 111.6 kB / 379.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.007478, allocations: 7.984 kB / 379.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.007557, allocations: 51.84 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.1e-05/0.007628, allocations: 31.89 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.007643, allocations: 4 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-05/0.007723, allocations: 43.92 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.00777, allocations: 19.92 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.007806, allocations: 19.88 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.007982, allocations: 103.6 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.007984, allocations: 0 / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.007985, allocations: 4 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.00799, allocations: 0 / 379.5 MB, free: 1.129 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.0004404/0.00843, allocations: 447.9 kB / 379.9 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.008464, allocations: 8.031 kB / 379.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.008511, allocations: 16.84 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.008673, allocations: 157.1 kB / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.008694, allocations: 8.359 kB / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.008712, allocations: 384 / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.008838, allocations: 62.94 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.008849, allocations: 3.938 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.008858, allocations: 4 kB / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.008866, allocations: 0 / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.741e-05/0.008903, allocations: 15.98 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.009214, allocations: 283.8 kB / 380.5 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.009357, allocations: 59.09 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/0.009388, allocations: 19.62 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.0094, allocations: 3.938 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.009511, allocations: 65.05 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/0.009513, allocations: 0 / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003963/0.009909, allocations: 157.4 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.009943, allocations: 55.39 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.01007, allocations: 234.3 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.01008, allocations: 29.7 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.01014, allocations: 154.8 kB / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.01017, allocations: 23.78 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.0102, allocations: 31.38 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.01032, allocations: 0.4923 MB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.01034, allocations: 15.98 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.441e-05/0.01038, allocations: 35.36 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.651e-05/0.01043, allocations: 51.31 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.01043, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001084/0.01054, allocations: 93.89 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.01056, allocations: 8 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.01056, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01057, allocations: 3.984 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.01065, allocations: 23.92 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.01065, allocations: 4 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.01068, allocations: 4 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.01069, allocations: 8.031 kB / 382 MB, free: 14.37 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.715e-05/0.01076, allocations: 172.2 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.01078, allocations: 7.953 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.01092, allocations: 111.2 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01093, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01093, allocations: 4 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01093, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.01123, allocations: 392.9 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.01123, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.01126, allocations: 12.03 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01126, allocations: 0 / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.01128, allocations: 11.98 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01128, allocations: 0 / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01128, allocations: 0 / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.01143, allocations: 259.4 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.01145, allocations: 11.91 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.01146, allocations: 4 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.0115, allocations: 4 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.01154, allocations: 11.92 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01156, allocations: 4 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.178e-05/0.01164, allocations: 176.1 kB / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01164, allocations: 0 / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001782/0.01182, allocations: 27.94 kB / 383.2 MB, free: 13.1 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.001031/0.01285, allocations: 437.1 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.01299, allocations: 51.59 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01299, allocations: 0 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.01304, allocations: 31.67 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.0002637/0.0133, allocations: 32.11 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.0003869/0.01369, allocations: 221.9 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.919e-05/0.01374, allocations: 67.34 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.187e-05/0.01378, allocations: 17.27 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003436/0.01412, allocations: 20.5 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01412, allocations: 0 / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Templates: time 0.004419/0.01854, allocations: 2 MB / 386.1 MB, free: 10.36 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.06766041694209]