Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001642/0.001642, allocations: 86.7 kB / 267.5 MB, free: 14.05 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.3085/0.3085, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.282e-05/4.301e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1551, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4951/0.6502, allocations: 86.29 MB / 0.5571 GB, free: 1.273 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.6505, allocations: 83.39 kB / 0.5571 GB, free: 1.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01669/0.6672, allocations: 3.96 MB / 0.561 GB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6673, allocations: 3.938 kB / 0.561 GB, free: 13.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.787e-05/0.6673, allocations: 4 kB / 0.561 GB, free: 13.83 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.00055/0.6679, allocations: 392.9 kB / 0.5614 GB, free: 13.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.668, allocations: 12.03 kB / 0.5614 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.668, allocations: 7.906 kB / 0.5614 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.6684, allocations: 201.8 kB / 0.5616 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.6684, allocations: 4 kB / 0.5616 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.6685, allocations: 0 / 0.5616 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.6686, allocations: 52.03 kB / 0.5617 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.6687, allocations: 3.984 kB / 0.5617 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6687, allocations: 0 / 0.5617 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.6687, allocations: 4 kB / 0.5617 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.172e-05/0.6688, allocations: 15.44 kB / 0.5617 GB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.6694, allocations: 291 kB / 0.562 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.6697, allocations: 41.75 kB / 0.562 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/0.6698, allocations: 11.98 kB / 0.562 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.6698, allocations: 0 / 0.562 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.6699, allocations: 42.56 kB / 0.562 GB, free: 12.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/0.6699, allocations: 0 / 0.562 GB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006079/0.6705, allocations: 110.8 kB / 0.5622 GB, free: 12.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.6706, allocations: 59.36 kB / 0.5622 GB, free: 12.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.6709, allocations: 197 kB / 0.5624 GB, free: 12.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.671, allocations: 29.08 kB / 0.5624 GB, free: 12.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.6711, allocations: 169.3 kB / 0.5626 GB, free: 12.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.6711, allocations: 19.75 kB / 0.5626 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.6711, allocations: 3.875 kB / 0.5626 GB, free: 12.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6713, allocations: 314.8 kB / 0.5629 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.6713, allocations: 11.44 kB / 0.5629 GB, free: 11.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.6714, allocations: 7.125 kB / 0.5629 GB, free: 11.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.726e-05/0.6714, allocations: 11.25 kB / 0.5629 GB, free: 11.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6714, allocations: 0 / 0.5629 GB, free: 11.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001621/0.6716, allocations: 56 kB / 0.563 GB, free: 11.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6716, allocations: 8 kB / 0.563 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6717, allocations: 4 kB / 0.563 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.6717, allocations: 0 / 0.563 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.6719, allocations: 15.98 kB / 0.563 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.6719, allocations: 0 / 0.563 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.272e-05/0.672, allocations: 11.27 kB / 0.563 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.672, allocations: 7.938 kB / 0.563 GB, free: 11.67 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 () * 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.044e-05/0.6721, allocations: 101 kB / 0.5631 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.6722, allocations: 7.906 kB / 0.5631 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.6724, allocations: 87.89 kB / 0.5632 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6724, allocations: 0 / 0.5632 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6724, allocations: 320 / 0.5632 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6725, allocations: 4 kB / 0.5632 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.673, allocations: 358 kB / 0.5636 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6731, allocations: 0 / 0.5636 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.6732, allocations: 12 kB / 0.5636 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.6732, allocations: 7.938 kB / 0.5636 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.6733, allocations: 0 / 0.5636 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.6733, allocations: 0 / 0.5636 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.6733, allocations: 7.938 kB / 0.5636 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.6735, allocations: 156.2 kB / 0.5637 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.6736, allocations: 93 kB / 0.5638 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.6736, allocations: 0 / 0.5638 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.6738, allocations: 19.3 kB / 0.5639 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.6738, allocations: 0 / 0.5639 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.6739, allocations: 7.953 kB / 0.5639 GB, free: 10.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002304/0.6741, allocations: 167.8 kB / 0.564 GB, free: 10.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6741, allocations: 0 / 0.564 GB, free: 10.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003284/0.6744, allocations: 19.06 kB / 0.564 GB, free: 10.62 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 () * 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.001098/0.6756, allocations: 379.6 kB / 0.5644 GB, free: 10.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.6757, allocations: 26.12 kB / 0.5644 GB, free: 10.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6758, allocations: 4 kB / 0.5644 GB, free: 10.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.36e-05/0.6758, allocations: 15.12 kB / 0.5644 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.6762, allocations: 24.64 kB / 0.5645 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.6767, allocations: 191.6 kB / 0.5646 GB, free: 10.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.6771, allocations: 0.7182 MB / 0.5654 GB, free: 9.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.6772, allocations: 11.44 kB / 0.5654 GB, free: 9.309 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6772, allocations: 0 / 0.5654 GB, free: 9.309 MB / 378.7 MB Notification: Performance of Templates: time 0.004942/0.6821, allocations: 1.6 MB / 0.5669 GB, free: 7.715 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches