Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001849/0.001849, 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.001964/0.001964, 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.561/1.561, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3824/0.3824, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.49e-05, allocations: 2.312 kB / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004062/0.004096, allocations: 1.793 MB / 379.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.006506, allocations: 1.056 MB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.00664, allocations: 0 / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006912/0.007331, allocations: 299.2 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007049/0.008036, allocations: 275 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.008395, allocations: 107.6 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005095/0.008904, allocations: 267.2 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.063e-05/0.008975, allocations: 13.8 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.009323, allocations: 147.6 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.009688, allocations: 207.6 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.009721, allocations: 4 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.009867, allocations: 51.86 kB / 381.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.01008, allocations: 143.6 kB / 381.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.01022, allocations: 71.61 kB / 381.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006115/0.01083, allocations: 358.8 kB / 382.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.01084, allocations: 4 kB / 382.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01084, allocations: 0 / 382.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.01085, allocations: 0 / 382.1 MB, free: 14.09 MB / 362.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.001457/0.01231, allocations: 0.6708 MB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/0.01237, allocations: 12.03 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.01255, allocations: 60.56 kB / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008411/0.01339, allocations: 397.8 kB / 383.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.01341, allocations: 4.375 kB / 383.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.01343, allocations: 384 / 383.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.01369, allocations: 95.86 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.0137, allocations: 3.938 kB / 383.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.01372, allocations: 0 / 383.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.01372, allocations: 4 kB / 383.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.01386, allocations: 31.97 kB / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.01442, allocations: 306 kB / 383.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.01475, allocations: 109.2 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.01487, allocations: 37.7 kB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.0149, allocations: 11.94 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.01516, allocations: 109 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.01516, allocations: 0 / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007249/0.01589, allocations: 221.1 kB / 384.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.023e-05/0.01598, allocations: 77.11 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.01776, allocations: 1.062 MB / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.01779, allocations: 29.7 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.01809, allocations: 240.1 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.01819, allocations: 27.86 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/0.01829, allocations: 25.7 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003041/0.01859, allocations: 370.8 kB / 386 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.0187, allocations: 27.98 kB / 386 MB, free: 9.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.01883, allocations: 59.41 kB / 386.1 MB, free: 9.926 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.01906, allocations: 99.84 kB / 386.2 MB, free: 9.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01906, allocations: 0 / 386.2 MB, free: 9.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004596/0.01952, allocations: 189.2 kB / 386.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.01954, allocations: 4 kB / 386.4 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.01956, allocations: 3.938 kB / 386.4 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/0.01959, allocations: 4 kB / 386.4 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.01973, allocations: 16 kB / 386.4 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.01974, allocations: 7.984 kB / 386.4 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.01988, allocations: 15.89 kB / 386.4 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.01989, allocations: 4 kB / 386.4 MB, free: 9.57 MB / 362.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.0003119/0.02021, allocations: 234.3 kB / 386.6 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.02031, allocations: 51.67 kB / 386.7 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/0.02079, allocations: 209.8 kB / 386.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.0208, allocations: 4 kB / 386.9 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.0208, allocations: 0 / 386.9 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.02081, allocations: 3.984 kB / 386.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.02122, allocations: 273.1 kB / 387.2 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.02123, allocations: 256 / 387.2 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.02128, allocations: 15.98 kB / 387.2 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.02129, allocations: 4 kB / 387.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.0213, allocations: 4 kB / 387.2 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.02131, allocations: 3.938 kB / 387.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.02131, allocations: 4 kB / 387.2 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.02178, allocations: 229.5 kB / 387.4 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.02192, allocations: 71.55 kB / 387.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.02196, allocations: 0 / 387.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.02207, allocations: 11.92 kB / 387.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.02213, allocations: 11.98 kB / 387.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.02215, allocations: 4 kB / 387.5 MB, free: 8.391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001034/0.02318, allocations: 0.7917 MB / 388.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02318, allocations: 0 / 388.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.02347, allocations: 47.98 kB / 388.4 MB, free: 7.555 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: 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.002026/0.02549, allocations: 449 kB / 388.8 MB, free: 7.297 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003079/0.0258, allocations: 91.89 kB / 388.9 MB, free: 7.207 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.0258, allocations: 0 / 388.9 MB, free: 7.207 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.02594, allocations: 35.98 kB / 388.9 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.02643, allocations: 87.38 kB / 389 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.0281, allocations: 0.9129 MB / 389.9 MB, free: 6.145 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.02845, allocations: 241.8 kB / 390.1 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.02861, allocations: 62.92 kB / 390.2 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.243e-05/0.0287, allocations: 36.48 kB / 390.2 MB, free: 5.785 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.0287, allocations: 4 kB / 390.2 MB, free: 5.781 MB / 362.7 MB Notification: Performance of Templates: time 0.01049/0.03919, allocations: 4.034 MB / 394.3 MB, free: 1.785 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.9854253409430385]