Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.00159/0.00159, allocations: 75.36 kB / 19.93 MB, free: 1.781 MB / 14.72 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.002088/0.002088, allocations: 165.7 kB / 23.21 MB, free: 4.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 158.6 MB / 185 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2221/0.2221, allocations: 32.38 MB / 269.6 MB, free: 4.672 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.372e-05/4.604e-05, allocations: 5.234 kB / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.005993/0.006039, allocations: 1.803 MB / 409.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.009191, allocations: 0.8659 MB / 410.1 MB, free: 244 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.009391, allocations: 4 kB / 410.1 MB, free: 240 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008024/0.01019, allocations: 155.3 kB / 410.3 MB, free: 84 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007883/0.01098, allocations: 143.4 kB / 410.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008461/0.01183, allocations: 151.5 kB / 410.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006498/0.01248, allocations: 223.2 kB / 410.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.01265, allocations: 13.8 kB / 410.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/0.013, allocations: 119.7 kB / 410.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.01332, allocations: 127.7 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.01337, allocations: 4 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.01356, allocations: 51.86 kB / 411.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.0137, allocations: 55.77 kB / 411.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.01383, allocations: 43.78 kB / 411.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005416/0.01437, allocations: 191.3 kB / 411.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.01438, allocations: 0 / 411.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01438, allocations: 0 / 411.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.01439, allocations: 0 / 411.4 MB, free: 14.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001319/0.01571, allocations: 452.8 kB / 411.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.757e-05/0.01578, allocations: 8.031 kB / 411.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.01592, allocations: 24.8 kB / 411.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006958/0.01662, allocations: 204.7 kB / 412 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.01665, allocations: 4.375 kB / 412 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.0167, allocations: 8.375 kB / 412.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.01715, allocations: 107.8 kB / 412.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.01717, allocations: 3.938 kB / 412.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.01719, allocations: 4 kB / 412.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.0172, allocations: 4 kB / 412.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.01742, allocations: 47.91 kB / 412.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/0.01831, allocations: 372.6 kB / 412.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.01891, allocations: 125.2 kB / 412.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.01911, allocations: 41.7 kB / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.01914, allocations: 4 kB / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003664/0.0195, allocations: 121 kB / 412.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.234e-06/0.0195, allocations: 0 / 412.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001783/0.02129, allocations: 372.6 kB / 413.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.971e-05/0.02139, allocations: 77.11 kB / 413.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.0221, allocations: 368.2 kB / 413.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.02214, allocations: 25.7 kB / 413.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.02232, allocations: 140.4 kB / 413.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.209e-05/0.02241, allocations: 47.64 kB / 413.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.02251, allocations: 33.72 kB / 413.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002535/0.02277, allocations: 346.7 kB / 414.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.02295, allocations: 43.98 kB / 414.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.02318, allocations: 79.34 kB / 414.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.02361, allocations: 127.5 kB / 414.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.02361, allocations: 0 / 414.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006619/0.02427, allocations: 181.4 kB / 414.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.02429, allocations: 12.06 kB / 414.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.0243, allocations: 7.875 kB / 414.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.02432, allocations: 0 / 414.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.02457, allocations: 31.98 kB / 414.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.02458, allocations: 0 / 414.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.02475, allocations: 7.984 kB / 414.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.02478, allocations: 12 kB / 414.7 MB, free: 11.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002619/0.02504, allocations: 161.6 kB / 414.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/0.02512, allocations: 31.8 kB / 414.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008525/0.02597, allocations: 223.2 kB / 415.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.02598, allocations: 0 / 415.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.02598, allocations: 0 / 415.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.02599, allocations: 4 kB / 415.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.02741, allocations: 0.5623 MB / 415.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.02741, allocations: 0 / 415.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.02755, allocations: 23.98 kB / 415.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.02755, allocations: 0 / 415.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.02758, allocations: 8 kB / 415.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-05/0.02759, allocations: 12.06 kB / 415.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.0276, allocations: 3.938 kB / 415.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008711/0.02847, allocations: 380.2 kB / 416.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.02854, allocations: 23.81 kB / 416.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.0286, allocations: 8 kB / 416.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.02889, allocations: 7.984 kB / 416.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/0.02897, allocations: 19.91 kB / 416.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.02901, allocations: 11.98 kB / 416.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005062/0.02951, allocations: 271 kB / 416.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.02951, allocations: 4 kB / 416.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000659/0.03017, allocations: 39.94 kB / 416.5 MB, free: 9.516 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003094/0.03327, allocations: 0.4933 MB / 417 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005483/0.03381, allocations: 115.9 kB / 417.1 MB, free: 9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.03382, allocations: 0 / 417.1 MB, free: 9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.0341, allocations: 67.84 kB / 417.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009206/0.03502, allocations: 64.36 kB / 417.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.03633, allocations: 441.3 kB / 417.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.03658, allocations: 145.1 kB / 417.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.03671, allocations: 33.59 kB / 417.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.03682, allocations: 28.5 kB / 417.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.03682, allocations: 0 / 417.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of Templates: time 0.01276/0.04958, allocations: 2.885 MB / 420.8 MB, free: 5.324 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.331599425524473]