Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001564/0.001564, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001593/0.001593, allocations: 161.7 kB / 24.27 MB, free: 172 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.497/1.497, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3625/0.3625, allocations: 32.8 MB / 293.9 MB, free: 1.191 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.283e-05, allocations: 6.25 kB / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003429/0.003462, allocations: 1.73 MB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.005495, allocations: 0.9743 MB / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.005559, allocations: 3.938 kB / 378.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.005861, allocations: 43.77 kB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.006191, allocations: 95.47 kB / 378.2 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.006423, allocations: 83.59 kB / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.006615, allocations: 115.6 kB / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.086e-05/0.006696, allocations: 7.984 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.006803, allocations: 51.84 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.368e-05/0.006887, allocations: 31.89 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.006907, allocations: 4 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.007014, allocations: 43.92 kB / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.007074, allocations: 23.86 kB / 378.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.007134, allocations: 23.92 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.00738, allocations: 123.5 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.007385, allocations: 4 kB / 378.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.007386, allocations: 0 / 378.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.00739, allocations: 4 kB / 378.7 MB, free: 1.523 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.0005919/0.007981, allocations: 357.4 kB / 379 MB, free: 1.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.008018, allocations: 12.03 kB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.008081, allocations: 16.83 kB / 379.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.008379, allocations: 158.3 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.008399, allocations: 4.375 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.008429, allocations: 8.312 kB / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.008594, allocations: 54.23 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.008608, allocations: 3.938 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.008619, allocations: 4 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.008624, allocations: 4 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.403e-05/0.008708, allocations: 19.98 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.009122, allocations: 228.6 kB / 379.5 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.009341, allocations: 62.61 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.009416, allocations: 24.78 kB / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.009432, allocations: 0 / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.009607, allocations: 71.34 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.009609, allocations: 0 / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006526/0.01026, allocations: 193.3 kB / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.01031, allocations: 51.41 kB / 379.9 MB, free: 144 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.01061, allocations: 243.6 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.01064, allocations: 25.7 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.072e-05/0.01073, allocations: 116 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.01076, allocations: 19.86 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.01082, allocations: 25.7 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.01101, allocations: 326.8 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.01108, allocations: 27.92 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.259e-05/0.01117, allocations: 45.64 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.01132, allocations: 65.62 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01132, allocations: 0 / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002208/0.01154, allocations: 105.5 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.01155, allocations: 4 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01156, allocations: 0 / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.01158, allocations: 4 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.01167, allocations: 20.36 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.01168, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.265e-05/0.01173, allocations: 15.97 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.01174, allocations: 0 / 381 MB, free: 15.07 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.0001365/0.01187, allocations: 141.7 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.01191, allocations: 15.91 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.01222, allocations: 127.2 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.01223, allocations: 4 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01223, allocations: 0 / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01223, allocations: 0 / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.01275, allocations: 358.9 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01275, allocations: 4.031 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.01279, allocations: 8 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.0128, allocations: 4 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.0128, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01281, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.01281, allocations: 4 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.01314, allocations: 228.1 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.01316, allocations: 7.953 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.01319, allocations: 4 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.857e-05/0.01327, allocations: 3.984 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.01331, allocations: 12 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.01333, allocations: 7.984 kB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001911/0.01352, allocations: 179.2 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01352, allocations: 0 / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002704/0.01379, allocations: 23.98 kB / 382.1 MB, free: 13.88 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.002235/0.01603, allocations: 496.5 kB / 382.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.01623, allocations: 63.91 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01623, allocations: 0 / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.01631, allocations: 23.98 kB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.0167, allocations: 38.22 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.01728, allocations: 272.9 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.01765, allocations: 108.9 kB / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.36e-05/0.01771, allocations: 17.28 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.01775, allocations: 20.48 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01775, allocations: 0 / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of Templates: time 0.005355/0.02311, allocations: 1.879 MB / 385 MB, free: 11.17 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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: 4.760254140011966]