Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 181.1 kB / 8.007 MB, free: 1.066 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.706/1.706, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.001002/0.001002, allocations: 94.56 kB / 261.8 MB, free: 1.676 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.2212/0.2212, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.82e-05, allocations: 11.98 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1734, allocations: 58.85 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.6252, allocations: 87.07 MB / 0.551 GB, free: 7.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.6254, allocations: 70.69 kB / 0.551 GB, free: 7.859 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.6424, allocations: 7.452 MB / 0.5583 GB, free: 1.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6425, allocations: 0 / 0.5583 GB, free: 1.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.234e-05/0.6425, allocations: 4 kB / 0.5583 GB, free: 1.906 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006487/0.6432, allocations: 475.4 kB / 0.5588 GB, free: 1.414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6432, allocations: 8.031 kB / 0.5588 GB, free: 1.406 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.837e-05/0.6433, allocations: 23.72 kB / 0.5588 GB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.6438, allocations: 280.2 kB / 0.5591 GB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.6438, allocations: 3.375 kB / 0.5591 GB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.6439, allocations: 4 kB / 0.5591 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001122/0.644, allocations: 33.73 kB / 0.5591 GB, free: 1.055 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.6441, allocations: 92.36 kB / 0.5592 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.6442, allocations: 4 kB / 0.5592 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.6442, allocations: 0 / 0.5592 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.6442, allocations: 0 / 0.5592 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.6447, allocations: 433.8 kB / 0.5596 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.6449, allocations: 97.64 kB / 0.5597 GB, free: 456 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.6449, allocations: 45.08 kB / 0.5597 GB, free: 416 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.645, allocations: 4 kB / 0.5598 GB, free: 412 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.6451, allocations: 107.9 kB / 0.5599 GB, free: 300 kB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.804e-06/0.6451, allocations: 0 / 0.5599 GB, free: 300 kB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.000626/0.6458, allocations: 305.2 kB / 0.5601 GB, free: 36 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.6458, allocations: 81.11 kB / 0.5602 GB, free: 15.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.6462, allocations: 318.8 kB / 0.5605 GB, free: 15.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.6462, allocations: 25.7 kB / 0.5606 GB, free: 15.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.6463, allocations: 139.3 kB / 0.5607 GB, free: 15.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.6464, allocations: 50.8 kB / 0.5607 GB, free: 15.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.6464, allocations: 0 / 0.5607 GB, free: 15.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.6466, allocations: 338.6 kB / 0.5611 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.866e-05/0.6467, allocations: 35.61 kB / 0.5611 GB, free: 15.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.696e-05/0.6468, allocations: 69.94 kB / 0.5612 GB, free: 15.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.356e-05/0.6469, allocations: 43.61 kB / 0.5612 GB, free: 15.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6469, allocations: 0 / 0.5612 GB, free: 15.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002569/0.6471, allocations: 155.4 kB / 0.5613 GB, free: 14.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.6472, allocations: 8 kB / 0.5614 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.6472, allocations: 3.953 kB / 0.5614 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6472, allocations: 4.062 kB / 0.5614 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.6474, allocations: 43.66 kB / 0.5614 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.6474, allocations: 0 / 0.5614 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.875e-05/0.6475, allocations: 8 kB / 0.5614 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.6475, allocations: 4 kB / 0.5614 GB, free: 14.86 MB / 378.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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.788e-05/0.6476, allocations: 105 kB / 0.5615 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.6476, allocations: 31.69 kB / 0.5615 GB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.648, allocations: 200.1 kB / 0.5617 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.648, allocations: 3.953 kB / 0.5617 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.648, allocations: 4 kB / 0.5617 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.648, allocations: 0 / 0.5617 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006874/0.6487, allocations: 0.6051 MB / 0.5623 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6487, allocations: 4 kB / 0.5623 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/0.6488, allocations: 27.77 kB / 0.5624 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.6488, allocations: 4 kB / 0.5624 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.6488, allocations: 7.922 kB / 0.5624 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.6489, allocations: 4 kB / 0.5624 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.6489, allocations: 4.203 kB / 0.5624 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.6492, allocations: 396.6 kB / 0.5628 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.209e-05/0.6493, allocations: 120.6 kB / 0.5629 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.6494, allocations: 4.375 kB / 0.5629 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.6495, allocations: 7.5 kB / 0.5629 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.6496, allocations: 15.97 kB / 0.5629 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.6496, allocations: 15.95 kB / 0.5629 GB, free: 13.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.6498, allocations: 252 kB / 0.5632 GB, free: 13.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6499, allocations: 0 / 0.5632 GB, free: 13.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003396/0.6502, allocations: 47.94 kB / 0.5632 GB, free: 13.12 MB / 378.7 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) * 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 (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.0009766/0.6512, allocations: 401.1 kB / 0.5636 GB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.6514, allocations: 98.8 kB / 0.5637 GB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6514, allocations: 0 / 0.5637 GB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.363e-05/0.6515, allocations: 63.17 kB / 0.5637 GB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.6519, allocations: 60.33 kB / 0.5638 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.6525, allocations: 335.9 kB / 0.5641 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.653, allocations: 0.7631 MB / 0.5649 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.027e-05/0.6531, allocations: 30.47 kB / 0.5649 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.6531, allocations: 27.31 kB / 0.5649 GB, free: 11.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.714e-06/0.6531, allocations: 0 / 0.5649 GB, free: 11.46 MB / 378.7 MB Notification: Performance of Templates: time 0.005826/0.659, allocations: 2.653 MB / 0.5675 GB, free: 8.836 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches