Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001701/0.001701, allocations: 182.2 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.668/1.668, 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.0008924/0.0008924, allocations: 94.8 kB / 270.2 MB, free: 13.37 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.211/0.211, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.000314, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.139, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4089/0.548, allocations: 86.51 MB / 0.5632 GB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5483, allocations: 67.28 kB / 0.5633 GB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01048/0.5588, allocations: 4.062 MB / 0.5673 GB, free: 9.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5589, allocations: 0 / 0.5673 GB, free: 9.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.5589, allocations: 0 / 0.5673 GB, free: 9.777 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.0005202/0.5594, allocations: 414.4 kB / 0.5677 GB, free: 9.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5595, allocations: 12.02 kB / 0.5677 GB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.5595, allocations: 11.91 kB / 0.5677 GB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.5599, allocations: 220.5 kB / 0.5679 GB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.5599, allocations: 0.625 kB / 0.5679 GB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.5599, allocations: 4.688 kB / 0.5679 GB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.5601, allocations: 51.38 kB / 0.5679 GB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5601, allocations: 0 / 0.5679 GB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.5601, allocations: 4.562 kB / 0.5679 GB, free: 9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.5601, allocations: 0 / 0.5679 GB, free: 9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.798e-05/0.5602, allocations: 29.78 kB / 0.568 GB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.5607, allocations: 302.7 kB / 0.5683 GB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.5609, allocations: 46.25 kB / 0.5683 GB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.5609, allocations: 3.938 kB / 0.5683 GB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.561, allocations: 34.56 kB / 0.5683 GB, free: 8.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.561, allocations: 4 kB / 0.5683 GB, free: 8.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000608/0.5616, allocations: 180.3 kB / 0.5685 GB, free: 8.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.5616, allocations: 55.41 kB / 0.5686 GB, free: 8.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.5619, allocations: 220.6 kB / 0.5688 GB, free: 8.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5619, allocations: 25.7 kB / 0.5688 GB, free: 8.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.562, allocations: 107 kB / 0.5689 GB, free: 8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.562, allocations: 15.56 kB / 0.5689 GB, free: 7.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-06/0.562, allocations: 0 / 0.5689 GB, free: 7.988 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5621, allocations: 322.6 kB / 0.5692 GB, free: 7.668 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.5622, allocations: 27.67 kB / 0.5693 GB, free: 7.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.017e-05/0.5623, allocations: 31.09 kB / 0.5693 GB, free: 7.621 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.757e-05/0.5624, allocations: 31.36 kB / 0.5693 GB, free: 7.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5624, allocations: 0 / 0.5693 GB, free: 7.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001914/0.5626, allocations: 96.48 kB / 0.5694 GB, free: 7.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.5626, allocations: 8 kB / 0.5694 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.5626, allocations: 0 / 0.5694 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5627, allocations: 0 / 0.5694 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.5627, allocations: 15.98 kB / 0.5694 GB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.5628, allocations: 3.953 kB / 0.5694 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.5628, allocations: 15.61 kB / 0.5695 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.5628, allocations: 4 kB / 0.5695 GB, free: 7.461 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 0.0001095/0.5629, allocations: 126.5 kB / 0.5696 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.563, allocations: 7.906 kB / 0.5696 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.5632, allocations: 120.3 kB / 0.5697 GB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5633, allocations: 0 / 0.5697 GB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5633, allocations: 0 / 0.5697 GB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.5633, allocations: 7.938 kB / 0.5697 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.5638, allocations: 394.7 kB / 0.5701 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5638, allocations: 0 / 0.5701 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.5639, allocations: 19.98 kB / 0.5701 GB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5639, allocations: 0 / 0.5701 GB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.5639, allocations: 0 / 0.5701 GB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.5639, allocations: 3.953 kB / 0.5701 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5639, allocations: 0 / 0.5701 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.5641, allocations: 201.4 kB / 0.5703 GB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.667e-05/0.5642, allocations: 96.97 kB / 0.5704 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.5643, allocations: 4 kB / 0.5704 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.5643, allocations: 4 kB / 0.5704 GB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.5644, allocations: 15.92 kB / 0.5704 GB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.5644, allocations: 0 / 0.5704 GB, free: 6.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001493/0.5645, allocations: 190.7 kB / 0.5706 GB, free: 6.289 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5646, allocations: 4 kB / 0.5706 GB, free: 6.285 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.5648, allocations: 20 kB / 0.5706 GB, free: 6.266 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.0008783/0.5657, allocations: 408.1 kB / 0.571 GB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.5659, allocations: 59.28 kB / 0.5711 GB, free: 5.863 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5659, allocations: 0 / 0.5711 GB, free: 5.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.778e-05/0.566, allocations: 38.66 kB / 0.5711 GB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.5662, allocations: 15.86 kB / 0.5711 GB, free: 5.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.5667, allocations: 274.8 kB / 0.5714 GB, free: 5.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.5669, allocations: 0.7227 MB / 0.5721 GB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.693e-05/0.567, allocations: 24.09 kB / 0.5721 GB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.567, allocations: 11.44 kB / 0.5721 GB, free: 4.762 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5671, allocations: 4 kB / 0.5721 GB, free: 4.758 MB / 378.7 MB Notification: Performance of Templates: time 0.00362/0.5707, allocations: 1.23 MB / 0.5733 GB, free: 3.543 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches