Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001936/0.001936, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003046/0.003046, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.69/1.69, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.4241/0.4241, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.554e-05, allocations: 9.547 kB / 375.4 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003849/0.003885, allocations: 1.739 MB / 377.1 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.007028, allocations: 1.699 MB / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.007134, allocations: 0 / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004162/0.00755, allocations: 43.7 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.008006, allocations: 103.4 kB / 378.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.008271, allocations: 79.59 kB / 379 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.008518, allocations: 111.7 kB / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.008632, allocations: 8 kB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.008766, allocations: 59.77 kB / 379.2 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.008908, allocations: 35.89 kB / 379.2 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.008934, allocations: 8 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.00915, allocations: 95.88 kB / 379.3 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.336e-05/0.009223, allocations: 27.86 kB / 379.4 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.009281, allocations: 19.92 kB / 379.4 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.009644, allocations: 183.4 kB / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.009648, allocations: 0 / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.00965, allocations: 0 / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.009656, allocations: 0 / 379.6 MB, free: 0.6797 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.0008609/0.01052, allocations: 451.4 kB / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.01057, allocations: 12.03 kB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/0.01066, allocations: 16.83 kB / 380 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.01104, allocations: 153 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.01108, allocations: 4.422 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.01111, allocations: 4.375 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.01137, allocations: 102.6 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.01138, allocations: 0 / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.0114, allocations: 4 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.01141, allocations: 0 / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.003e-05/0.0115, allocations: 19.92 kB / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.01211, allocations: 295.7 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.01233, allocations: 63.17 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.906e-05/0.0124, allocations: 23.67 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.01242, allocations: 0 / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.01262, allocations: 76.98 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.01262, allocations: 0 / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007059/0.01333, allocations: 177.3 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/0.01341, allocations: 81.11 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.01367, allocations: 229.9 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.01369, allocations: 25.7 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.0138, allocations: 150.8 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.01384, allocations: 31.8 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.01391, allocations: 35.36 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002909/0.0142, allocations: 0.5039 MB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.655e-05/0.01426, allocations: 16 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.01436, allocations: 80.73 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.01449, allocations: 71.28 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01449, allocations: 0 / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002078/0.0147, allocations: 105.5 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.01472, allocations: 4 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01473, allocations: 8.047 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.01475, allocations: 384 / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01485, allocations: 16 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.01486, allocations: 0 / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.01491, allocations: 8 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.01492, allocations: 4 kB / 382.3 MB, free: 13.7 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.0001482/0.01507, allocations: 172.5 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.0151, allocations: 7.953 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.01538, allocations: 122.5 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01539, allocations: 4 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01539, allocations: 4 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.0154, allocations: 0 / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/0.01596, allocations: 409 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01597, allocations: 0 / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.01601, allocations: 11.94 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01601, allocations: 0 / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.01603, allocations: 8 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01603, allocations: 0 / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01603, allocations: 0 / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.01637, allocations: 275.4 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.01639, allocations: 15.98 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.01642, allocations: 0 / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.01649, allocations: 4 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.01654, allocations: 11.92 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.01655, allocations: 4 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001706/0.01673, allocations: 179.1 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01673, allocations: 0 / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003272/0.01705, allocations: 55.8 kB / 383.5 MB, free: 12.36 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.003889/0.02094, allocations: 0.5832 MB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.02118, allocations: 67.59 kB / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.02119, allocations: 0 / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.943e-05/0.02129, allocations: 47.55 kB / 384.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.02168, allocations: 34.59 kB / 384.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.02228, allocations: 217.9 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.02241, allocations: 89.45 kB / 384.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.089e-05/0.02248, allocations: 16.97 kB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.02254, allocations: 20.48 kB / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02255, allocations: 0 / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of Templates: time 0.007791/0.03034, allocations: 2.543 MB / 387.1 MB, free: 8.965 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.527131636976264]