Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.0007723/0.0007723, 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.0007597/0.0007597, allocations: 174.3 kB / 23.97 MB, free: 0.5938 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.8716/0.8716, allocations: 158.6 MB / 185.7 MB, free: 3.047 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.1242/0.1242, allocations: 32.37 MB / 270.4 MB, free: 14.84 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 408.2 MB, free: 1.664 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.243e-05, allocations: 6.281 kB / 408.2 MB, free: 1.656 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002032/0.002054, allocations: 1.761 MB / 409.9 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009346/0.002989, allocations: 0.8505 MB / 410.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.09e-05/0.00306, allocations: 4 kB / 410.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.003478, allocations: 303.1 kB / 411.1 MB, free: 14.72 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.003803, allocations: 211.3 kB / 411.3 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.004019, allocations: 147.5 kB / 411.4 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.004243, allocations: 251.2 kB / 411.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.004287, allocations: 5.812 kB / 411.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.00441, allocations: 143.6 kB / 411.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.004575, allocations: 200.1 kB / 412 MB, free: 13.78 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.004596, allocations: 8 kB / 412 MB, free: 13.77 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-05/0.004667, allocations: 39.98 kB / 412.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.004767, allocations: 136.5 kB / 412.2 MB, free: 13.6 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.895e-05/0.004846, allocations: 71.66 kB / 412.3 MB, free: 13.53 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.005132, allocations: 346.8 kB / 412.6 MB, free: 13.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005135, allocations: 0 / 412.6 MB, free: 13.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.005137, allocations: 0 / 412.6 MB, free: 13.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.005142, allocations: 3.938 kB / 412.6 MB, free: 13.19 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.0006333/0.005775, allocations: 0.6553 MB / 413.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.005809, allocations: 8.031 kB / 413.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.005868, allocations: 56.55 kB / 413.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.006233, allocations: 373.8 kB / 413.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.006247, allocations: 8.375 kB / 413.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.006258, allocations: 4.375 kB / 413.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.006409, allocations: 91.86 kB / 413.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.006419, allocations: 3.938 kB / 413.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.006431, allocations: 4 kB / 413.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.006436, allocations: 0 / 413.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.652e-05/0.006502, allocations: 35.97 kB / 413.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.006763, allocations: 298.1 kB / 414.1 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.006924, allocations: 105.2 kB / 414.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.742e-05/0.006982, allocations: 41.69 kB / 414.3 MB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.006996, allocations: 4 kB / 414.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.007137, allocations: 113 kB / 414.4 MB, free: 11.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 8.71e-07/0.007138, allocations: 0 / 414.4 MB, free: 11.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002988/0.007437, allocations: 213.2 kB / 414.6 MB, free: 11.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.007471, allocations: 77.11 kB / 414.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/0.008141, allocations: 1.014 MB / 415.7 MB, free: 9.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.008156, allocations: 33.7 kB / 415.7 MB, free: 9.891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.008265, allocations: 228.1 kB / 415.9 MB, free: 9.664 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.008302, allocations: 35.72 kB / 416 MB, free: 9.629 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.008338, allocations: 25.72 kB / 416 MB, free: 9.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.008491, allocations: 370.8 kB / 416.4 MB, free: 9.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.008542, allocations: 31.97 kB / 416.4 MB, free: 9.195 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.464e-05/0.008597, allocations: 55.42 kB / 416.5 MB, free: 9.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.0087, allocations: 99.34 kB / 416.5 MB, free: 9.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.008702, allocations: 0 / 416.5 MB, free: 9.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001732/0.008875, allocations: 173.7 kB / 416.7 MB, free: 8.844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.008888, allocations: 4 kB / 416.7 MB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.008895, allocations: 8.062 kB / 416.7 MB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.008907, allocations: 4 kB / 416.7 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.00898, allocations: 23.98 kB / 416.8 MB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.008984, allocations: 0 / 416.8 MB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.009036, allocations: 8 kB / 416.8 MB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.009043, allocations: 8.062 kB / 416.8 MB, free: 8.789 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.0001439/0.009187, allocations: 229.6 kB / 417 MB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.009221, allocations: 55.56 kB / 417.1 MB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.009444, allocations: 201.5 kB / 417.2 MB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.009447, allocations: 3.984 kB / 417.3 MB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.009452, allocations: 4 kB / 417.3 MB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.009456, allocations: 3.984 kB / 417.3 MB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.009622, allocations: 257.1 kB / 417.5 MB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.009624, allocations: 4 kB / 417.5 MB, free: 8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.009647, allocations: 16 kB / 417.5 MB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009649, allocations: 0 / 417.5 MB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.009658, allocations: 7.984 kB / 417.5 MB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.009666, allocations: 7.922 kB / 417.5 MB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.009667, allocations: 0 / 417.5 MB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.009849, allocations: 213.5 kB / 417.8 MB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.009905, allocations: 63.66 kB / 417.8 MB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.009931, allocations: 7.984 kB / 417.8 MB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.846e-05/0.009969, allocations: 7.938 kB / 417.8 MB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.01, allocations: 7.984 kB / 417.8 MB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.01002, allocations: 12.12 kB / 417.9 MB, free: 7.641 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000578/0.0106, allocations: 0.7565 MB / 418.6 MB, free: 6.887 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0106, allocations: 0 / 418.6 MB, free: 6.887 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.01077, allocations: 47.92 kB / 418.7 MB, free: 6.84 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.0006251/0.0114, allocations: 441.6 kB / 419.1 MB, free: 6.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.01156, allocations: 87.89 kB / 419.2 MB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01156, allocations: 3.938 kB / 419.2 MB, free: 6.344 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.668e-05/0.01162, allocations: 40.11 kB / 419.2 MB, free: 6.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.01196, allocations: 70.62 kB / 419.3 MB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007895/0.01275, allocations: 0.9057 MB / 420.2 MB, free: 5.289 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.01289, allocations: 237.8 kB / 420.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.01294, allocations: 24.5 kB / 420.4 MB, free: 5.016 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01294, allocations: 0 / 420.4 MB, free: 5.016 MB / 394.7 MB Notification: Performance of Templates: time 0.004971/0.01791, allocations: 5.151 MB / 425.6 MB, free: 15.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.7328107710927725]