Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.0007203/0.0007203, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.000759/0.000759, allocations: 174.3 kB / 23.97 MB, free: 0.5977 MB / 18.57 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 0.8131/0.8131, allocations: 158.6 MB / 185.7 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.1313/0.1313, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 3.938 kB / 408.2 MB, free: 1.668 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.783e-05, allocations: 2.281 kB / 408.2 MB, free: 1.664 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002245/0.002272, allocations: 1.757 MB / 409.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.000922/0.003194, allocations: 0.8428 MB / 410.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.558e-05/0.00326, allocations: 7.938 kB / 410.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.003636, allocations: 303.2 kB / 411.1 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.003928, allocations: 219.1 kB / 411.3 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.004146, allocations: 143.6 kB / 411.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.004388, allocations: 251.2 kB / 411.7 MB, free: 14.14 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.00444, allocations: 5.812 kB / 411.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.00458, allocations: 151.6 kB / 411.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.004761, allocations: 199.6 kB / 412 MB, free: 13.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.004784, allocations: 11.94 kB / 412 MB, free: 13.77 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.839e-05/0.004862, allocations: 51.91 kB / 412.1 MB, free: 13.72 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.004985, allocations: 131.6 kB / 412.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.005055, allocations: 75.64 kB / 412.3 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.005374, allocations: 346.8 kB / 412.6 MB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005377, allocations: 0 / 412.6 MB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005378, allocations: 0 / 412.6 MB, free: 13.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.005385, allocations: 4 kB / 412.6 MB, free: 13.18 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000677/0.006062, allocations: 0.6631 MB / 413.3 MB, free: 12.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.0061, allocations: 12.03 kB / 413.3 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.006166, allocations: 60.53 kB / 413.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.006504, allocations: 393.7 kB / 413.8 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.006514, allocations: 384 / 413.8 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.006525, allocations: 4.375 kB / 413.8 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.006651, allocations: 83.92 kB / 413.8 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.006659, allocations: 3.938 kB / 413.8 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.00667, allocations: 8 kB / 413.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.006674, allocations: 3.984 kB / 413.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.541e-05/0.00674, allocations: 39.91 kB / 413.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.006966, allocations: 298.1 kB / 414.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.007127, allocations: 109.2 kB / 414.3 MB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.007179, allocations: 37.7 kB / 414.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.007192, allocations: 4 kB / 414.3 MB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.007321, allocations: 117 kB / 414.5 MB, free: 11.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 8.51e-07/0.007322, allocations: 7.938 kB / 414.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002773/0.007599, allocations: 201.2 kB / 414.7 MB, free: 11.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.007634, allocations: 85.03 kB / 414.7 MB, free: 10.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/0.0083, allocations: 1.042 MB / 415.8 MB, free: 9.852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.008314, allocations: 33.7 kB / 415.8 MB, free: 9.812 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.008426, allocations: 232 kB / 416 MB, free: 9.582 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.008457, allocations: 27.8 kB / 416.1 MB, free: 9.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.00849, allocations: 25.7 kB / 416.1 MB, free: 9.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.008596, allocations: 370.8 kB / 416.5 MB, free: 9.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.008645, allocations: 31.98 kB / 416.5 MB, free: 9.121 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.442e-05/0.008699, allocations: 63.41 kB / 416.5 MB, free: 9.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.008799, allocations: 87.36 kB / 416.6 MB, free: 8.949 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.008801, allocations: 0 / 416.6 MB, free: 8.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000163/0.008964, allocations: 173.8 kB / 416.8 MB, free: 8.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.008976, allocations: 8 kB / 416.8 MB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.008981, allocations: 4.062 kB / 416.8 MB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.008992, allocations: 8.062 kB / 416.8 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.009063, allocations: 27.92 kB / 416.8 MB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.009066, allocations: 0 / 416.8 MB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.89e-05/0.009155, allocations: 11.94 kB / 416.9 MB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.009165, allocations: 4 kB / 416.9 MB, free: 8.711 MB / 394.7 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001488/0.009314, allocations: 229.6 kB / 417.1 MB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.009353, allocations: 55.61 kB / 417.1 MB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.009593, allocations: 209.6 kB / 417.3 MB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.009595, allocations: 4 kB / 417.4 MB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.009599, allocations: 4 kB / 417.4 MB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.009602, allocations: 0 / 417.4 MB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.009772, allocations: 269.1 kB / 417.6 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.009774, allocations: 0 / 417.6 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.009802, allocations: 11.94 kB / 417.6 MB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.009804, allocations: 4 kB / 417.6 MB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.009814, allocations: 4 kB / 417.6 MB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.009818, allocations: 7.922 kB / 417.6 MB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.009819, allocations: 4 kB / 417.6 MB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.01001, allocations: 209.6 kB / 417.9 MB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.01007, allocations: 67.66 kB / 417.9 MB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.01009, allocations: 0 / 417.9 MB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-05/0.01013, allocations: 15.92 kB / 417.9 MB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.01016, allocations: 11.92 kB / 417.9 MB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.01017, allocations: 4.125 kB / 418 MB, free: 7.555 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007126/0.01088, allocations: 0.7838 MB / 418.7 MB, free: 6.773 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01088, allocations: 0 / 418.7 MB, free: 6.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.01106, allocations: 47.94 kB / 418.8 MB, free: 6.727 MB / 394.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0006058/0.01167, allocations: 441.8 kB / 419.2 MB, free: 6.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.01182, allocations: 83.89 kB / 419.3 MB, free: 6.238 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01182, allocations: 0 / 419.3 MB, free: 6.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.889e-05/0.01188, allocations: 43.91 kB / 419.3 MB, free: 6.195 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.01213, allocations: 66.62 kB / 419.4 MB, free: 6.129 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007753/0.0129, allocations: 0.9294 MB / 420.3 MB, free: 5.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.01305, allocations: 241.8 kB / 420.6 MB, free: 4.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.0131, allocations: 32.44 kB / 420.6 MB, free: 4.871 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.0131, allocations: 0 / 420.6 MB, free: 4.871 MB / 394.7 MB Notification: Performance of Templates: time 0.004902/0.018, allocations: 5.275 MB / 425.9 MB, free: 15.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.62882792763412]