Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 82.64 kB / 261.7 MB, free: 1.621 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2162/0.2162, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.712e-05, allocations: 8 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1324, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4466/0.5791, allocations: 87.18 MB / 0.5511 GB, free: 7.816 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.5794, allocations: 73.72 kB / 0.5511 GB, free: 7.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01339/0.5928, allocations: 5.63 MB / 0.5566 GB, free: 3.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5928, allocations: 0 / 0.5566 GB, free: 3.508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.5928, allocations: 8 kB / 0.5567 GB, free: 3.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003747/0.5932, allocations: 384.6 kB / 0.557 GB, free: 3.086 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.5933, allocations: 8.031 kB / 0.557 GB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.5933, allocations: 7.906 kB / 0.557 GB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.5936, allocations: 209.2 kB / 0.5572 GB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.5936, allocations: 4 kB / 0.5572 GB, free: 2.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.5936, allocations: 0 / 0.5572 GB, free: 2.832 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.582e-05/0.5937, allocations: 26.73 kB / 0.5573 GB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.787e-05/0.5938, allocations: 66.39 kB / 0.5573 GB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5938, allocations: 0 / 0.5573 GB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.5939, allocations: 0 / 0.5573 GB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5939, allocations: 4 kB / 0.5573 GB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.5942, allocations: 258.7 kB / 0.5576 GB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.5943, allocations: 57.94 kB / 0.5576 GB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.5943, allocations: 16.55 kB / 0.5577 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.5944, allocations: 3.984 kB / 0.5577 GB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.5945, allocations: 61.7 kB / 0.5577 GB, free: 2.324 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.5945, allocations: 3.938 kB / 0.5577 GB, free: 2.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004109/0.5949, allocations: 157.1 kB / 0.5579 GB, free: 2.188 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.5949, allocations: 77.11 kB / 0.5579 GB, free: 2.094 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.5951, allocations: 139.8 kB / 0.5581 GB, free: 1.969 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.5951, allocations: 32.14 kB / 0.5581 GB, free: 1.934 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.5951, allocations: 90.62 kB / 0.5582 GB, free: 1.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.5952, allocations: 30.08 kB / 0.5582 GB, free: 1.824 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.5952, allocations: 0 / 0.5582 GB, free: 1.824 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.5953, allocations: 318.5 kB / 0.5585 GB, free: 1.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.5953, allocations: 22.8 kB / 0.5585 GB, free: 1.492 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.738e-05/0.5953, allocations: 37.64 kB / 0.5586 GB, free: 1.453 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.5954, allocations: 33.36 kB / 0.5586 GB, free: 1.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5954, allocations: 0 / 0.5586 GB, free: 1.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001175/0.5955, allocations: 82.34 kB / 0.5587 GB, free: 1.355 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5955, allocations: 4 kB / 0.5587 GB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5956, allocations: 4 kB / 0.5587 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.5956, allocations: 4.141 kB / 0.5587 GB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.5957, allocations: 19.92 kB / 0.5587 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.5957, allocations: 3.938 kB / 0.5587 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.5957, allocations: 8.062 kB / 0.5587 GB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.5957, allocations: 4 kB / 0.5587 GB, free: 1.309 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.506e-05/0.5958, allocations: 104.8 kB / 0.5588 GB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.5959, allocations: 11.91 kB / 0.5588 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.596, allocations: 103.7 kB / 0.5589 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5961, allocations: 4 kB / 0.559 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.5961, allocations: 3.953 kB / 0.559 GB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5961, allocations: 0 / 0.559 GB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.5964, allocations: 373.1 kB / 0.5593 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5964, allocations: 0 / 0.5593 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.5964, allocations: 11 kB / 0.5593 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.5964, allocations: 0 / 0.5593 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.5965, allocations: 7.953 kB / 0.5593 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5965, allocations: 0 / 0.5593 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5965, allocations: 3.984 kB / 0.5593 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.5966, allocations: 211.1 kB / 0.5595 GB, free: 496 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.5967, allocations: 88.39 kB / 0.5596 GB, free: 392 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.5967, allocations: 11.89 kB / 0.5596 GB, free: 380 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.5968, allocations: 3.984 kB / 0.5596 GB, free: 376 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.5968, allocations: 4 kB / 0.5596 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.5968, allocations: 4 kB / 0.5596 GB, free: 368 kB / 362.7 MB Notification: Performance of sorting global known variables: time 6.614e-05/0.5969, allocations: 118.1 kB / 0.5598 GB, free: 264 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5969, allocations: 0 / 0.5598 GB, free: 264 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002623/0.5972, allocations: 43.05 kB / 0.5598 GB, free: 224 kB / 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009177/0.5981, allocations: 437.8 kB / 0.5602 GB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.5983, allocations: 53.98 kB / 0.5603 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.5983, allocations: 4.062 kB / 0.5603 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.045e-05/0.5983, allocations: 25.94 kB / 0.5603 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.5986, allocations: 23.53 kB / 0.5603 GB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.5989, allocations: 133.9 kB / 0.5604 GB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.5992, allocations: 0.704 MB / 0.5611 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.893e-05/0.5993, allocations: 16.61 kB / 0.5611 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.5993, allocations: 19.42 kB / 0.5612 GB, free: 14.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5993, allocations: 0 / 0.5612 GB, free: 14.86 MB / 378.7 MB Notification: Performance of Templates: time 0.004298/0.6037, allocations: 1.836 MB / 0.563 GB, free: 13.05 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches