Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001647/0.001647, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009189/0.0009189, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2127/0.2127, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005321/0.0005322, allocations: 16 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1576, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3911/0.5487, allocations: 86.45 MB / 0.5632 GB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.549, allocations: 74.59 kB / 0.5632 GB, free: 13.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00933/0.5583, allocations: 3.543 MB / 0.5667 GB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5584, allocations: 0 / 0.5667 GB, free: 10.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.5584, allocations: 0 / 0.5667 GB, free: 10.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004033/0.5588, allocations: 393.5 kB / 0.5671 GB, free: 9.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.5589, allocations: 8.031 kB / 0.5671 GB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.5589, allocations: 7.906 kB / 0.5671 GB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.5591, allocations: 189.5 kB / 0.5673 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.5591, allocations: 0 / 0.5673 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.5592, allocations: 4 kB / 0.5673 GB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.5593, allocations: 52.31 kB / 0.5673 GB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5593, allocations: 0 / 0.5673 GB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.5593, allocations: 0 / 0.5673 GB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5593, allocations: 0 / 0.5673 GB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.551e-05/0.5594, allocations: 35.34 kB / 0.5674 GB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.5598, allocations: 285.5 kB / 0.5676 GB, free: 9.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.56, allocations: 49.25 kB / 0.5677 GB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.5601, allocations: 0 / 0.5677 GB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.5601, allocations: 30.56 kB / 0.5677 GB, free: 9.125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.194e-06/0.5601, allocations: 0 / 0.5677 GB, free: 9.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005612/0.5607, allocations: 167.3 kB / 0.5679 GB, free: 8.973 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.5607, allocations: 51.41 kB / 0.5679 GB, free: 8.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.5608, allocations: 138.3 kB / 0.5681 GB, free: 8.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.5609, allocations: 29.7 kB / 0.5681 GB, free: 8.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.5609, allocations: 95.05 kB / 0.5682 GB, free: 8.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.5609, allocations: 18.98 kB / 0.5682 GB, free: 8.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.5609, allocations: 0 / 0.5682 GB, free: 8.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5611, allocations: 314 kB / 0.5685 GB, free: 8.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.5611, allocations: 27.34 kB / 0.5685 GB, free: 8.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.5612, allocations: 27.92 kB / 0.5685 GB, free: 8.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.464e-05/0.5613, allocations: 29.36 kB / 0.5686 GB, free: 8.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5613, allocations: 3.938 kB / 0.5686 GB, free: 8.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001811/0.5615, allocations: 102.9 kB / 0.5687 GB, free: 8.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.5615, allocations: 8 kB / 0.5687 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.5615, allocations: 0 / 0.5687 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.5615, allocations: 0 / 0.5687 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.5616, allocations: 12 kB / 0.5687 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5616, allocations: 3.938 kB / 0.5687 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.5617, allocations: 11.94 kB / 0.5687 GB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.5617, allocations: 0 / 0.5687 GB, free: 8.121 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.507e-05/0.5618, allocations: 129.6 kB / 0.5688 GB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.5618, allocations: 7.906 kB / 0.5688 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.5621, allocations: 101.3 kB / 0.5689 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5621, allocations: 0 / 0.5689 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5621, allocations: 0 / 0.5689 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.5621, allocations: 0 / 0.5689 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.5625, allocations: 369.9 kB / 0.5693 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5626, allocations: 4 kB / 0.5693 GB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.5626, allocations: 8.688 kB / 0.5693 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5626, allocations: 3.984 kB / 0.5693 GB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.5626, allocations: 8.625 kB / 0.5693 GB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5627, allocations: 0 / 0.5693 GB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5627, allocations: 3.953 kB / 0.5693 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.5629, allocations: 193.2 kB / 0.5695 GB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.563, allocations: 92.77 kB / 0.5696 GB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.563, allocations: 4.062 kB / 0.5696 GB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.5631, allocations: 11.98 kB / 0.5696 GB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.5631, allocations: 3.938 kB / 0.5696 GB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.5631, allocations: 7.953 kB / 0.5696 GB, free: 7.145 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.202e-05/0.5632, allocations: 112.1 kB / 0.5697 GB, free: 7.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5632, allocations: 0 / 0.5697 GB, free: 7.047 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002346/0.5635, allocations: 16 kB / 0.5697 GB, free: 7.031 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008586/0.5643, allocations: 403.2 kB / 0.5701 GB, free: 6.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.5646, allocations: 57.09 kB / 0.5702 GB, free: 6.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5646, allocations: 0 / 0.5702 GB, free: 6.641 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.5647, allocations: 31.3 kB / 0.5702 GB, free: 6.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.5649, allocations: 15.55 kB / 0.5702 GB, free: 6.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.5653, allocations: 186.9 kB / 0.5704 GB, free: 6.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.5656, allocations: 0.7001 MB / 0.5711 GB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.452e-05/0.5656, allocations: 16.16 kB / 0.5711 GB, free: 5.668 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.5657, allocations: 15.38 kB / 0.5711 GB, free: 5.652 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5657, allocations: 0 / 0.5711 GB, free: 5.652 MB / 378.7 MB Notification: Performance of Templates: time 0.003242/0.5689, allocations: 1.03 MB / 0.5721 GB, free: 4.637 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches