Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002191/0.002191, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.995/1.995, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001153/0.001153, allocations: 88.42 kB / 270.9 MB, free: 8.371 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.5346/0.5346, allocations: 43.54 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004629, allocations: 16 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1237, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5127/0.6365, allocations: 86.34 MB / 0.563 GB, free: 400 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.6368, allocations: 75.95 kB / 0.5631 GB, free: 324 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01615/0.653, allocations: 3.531 MB / 0.5666 GB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.653, allocations: 0 / 0.5666 GB, free: 12.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.6531, allocations: 0 / 0.5666 GB, free: 12.82 MB / 394.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.0005774/0.6536, allocations: 391.3 kB / 0.5669 GB, free: 12.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.6537, allocations: 16.02 kB / 0.567 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.6538, allocations: 4 kB / 0.567 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.6541, allocations: 194.4 kB / 0.5671 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.6541, allocations: 4 kB / 0.5671 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.6541, allocations: 0 / 0.5671 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.6543, allocations: 49.69 kB / 0.5672 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.6544, allocations: 0 / 0.5672 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.6544, allocations: 3.938 kB / 0.5672 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.6544, allocations: 0 / 0.5672 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.6546, allocations: 36.94 kB / 0.5672 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.6551, allocations: 272.8 kB / 0.5675 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.6554, allocations: 50.55 kB / 0.5675 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.6555, allocations: 4 kB / 0.5675 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.6555, allocations: 34.5 kB / 0.5676 GB, free: 11.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.815e-06/0.6555, allocations: 0 / 0.5676 GB, free: 11.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008628/0.6564, allocations: 149.5 kB / 0.5677 GB, free: 11.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.6565, allocations: 59.34 kB / 0.5678 GB, free: 11.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.6567, allocations: 133.2 kB / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.6568, allocations: 25.7 kB / 0.5679 GB, free: 11.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.6568, allocations: 154.6 kB / 0.5681 GB, free: 11.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.6569, allocations: 19.72 kB / 0.5681 GB, free: 11.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.6569, allocations: 0 / 0.5681 GB, free: 11.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6571, allocations: 322.8 kB / 0.5684 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.6572, allocations: 20.17 kB / 0.5684 GB, free: 10.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.6573, allocations: 23.98 kB / 0.5684 GB, free: 10.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.6575, allocations: 24 kB / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6575, allocations: 0 / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003219/0.6578, allocations: 81.94 kB / 0.5685 GB, free: 10.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.6578, allocations: 4 kB / 0.5685 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6579, allocations: 0 / 0.5685 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.6579, allocations: 0 / 0.5685 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.658, allocations: 19.94 kB / 0.5686 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.658, allocations: 0 / 0.5686 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/0.6581, allocations: 15.94 kB / 0.5686 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.6582, allocations: 7.984 kB / 0.5686 GB, free: 10.54 MB / 394.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.0001236/0.6583, allocations: 117.8 kB / 0.5687 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.6583, allocations: 7.906 kB / 0.5687 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.6587, allocations: 97.95 kB / 0.5688 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6588, allocations: 0 / 0.5688 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6588, allocations: 7.984 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.6588, allocations: 0 / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006838/0.6595, allocations: 362.8 kB / 0.5692 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6595, allocations: 0 / 0.5692 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.6596, allocations: 11.98 kB / 0.5692 GB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.6596, allocations: 4 kB / 0.5692 GB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.6597, allocations: 0 / 0.5692 GB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.6597, allocations: 0 / 0.5692 GB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6597, allocations: 3.953 kB / 0.5692 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.66, allocations: 191.4 kB / 0.5694 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.6601, allocations: 92.94 kB / 0.5694 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.6602, allocations: 0 / 0.5694 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.6603, allocations: 8 kB / 0.5695 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.6603, allocations: 11.98 kB / 0.5695 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.6604, allocations: 3.953 kB / 0.5695 GB, free: 9.535 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.6605, allocations: 105.4 kB / 0.5696 GB, free: 9.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6605, allocations: 0 / 0.5696 GB, free: 9.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003423/0.6608, allocations: 27.92 kB / 0.5696 GB, free: 9.406 MB / 394.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.00116/0.662, allocations: 402.8 kB / 0.57 GB, free: 9.105 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.6624, allocations: 59.91 kB / 0.57 GB, free: 9.047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6624, allocations: 0 / 0.57 GB, free: 9.047 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.6625, allocations: 31.97 kB / 0.5701 GB, free: 9.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.6628, allocations: 11.94 kB / 0.5701 GB, free: 9.004 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.6634, allocations: 212.8 kB / 0.5703 GB, free: 8.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.6637, allocations: 0.6887 MB / 0.571 GB, free: 8.059 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.6638, allocations: 11.44 kB / 0.571 GB, free: 8.047 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6638, allocations: 0 / 0.571 GB, free: 8.047 MB / 394.7 MB Notification: Performance of Templates: time 0.004232/0.668, allocations: 1.378 MB / 0.5723 GB, free: 6.668 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches