Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002169/0.002169, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.934/1.934, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001081/0.001081, allocations: 88.31 kB / 270.9 MB, free: 8.395 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.5015/0.5015, allocations: 43.55 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006433/0.0006436, allocations: 12 kB / 431.4 MB, free: 6.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1642, allocations: 58.84 MB / 490.2 MB, free: 11.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4888/0.6531, allocations: 86.69 MB / 0.5634 GB, free: 88 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.6534, allocations: 79.95 kB / 0.5635 GB, free: 8 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01867/0.672, allocations: 4.574 MB / 0.5679 GB, free: 11.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.6721, allocations: 0 / 0.5679 GB, free: 11.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.6721, allocations: 0 / 0.5679 GB, free: 11.47 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000563/0.6727, allocations: 386.7 kB / 0.5683 GB, free: 11.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.6728, allocations: 16.56 kB / 0.5683 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.6728, allocations: 3.938 kB / 0.5683 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.6731, allocations: 198.8 kB / 0.5685 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.6731, allocations: 4 kB / 0.5685 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.6731, allocations: 4 kB / 0.5685 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.6734, allocations: 75.95 kB / 0.5686 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.6734, allocations: 0 / 0.5686 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.6734, allocations: 4 kB / 0.5686 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.6735, allocations: 5.219 kB / 0.5686 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.6736, allocations: 37 kB / 0.5686 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.6741, allocations: 292.7 kB / 0.5689 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.6743, allocations: 62.5 kB / 0.569 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.6744, allocations: 3.984 kB / 0.569 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.6744, allocations: 34.83 kB / 0.569 GB, free: 10.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.6744, allocations: 0 / 0.569 GB, free: 10.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009306/0.6753, allocations: 189.3 kB / 0.5692 GB, free: 10.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.6754, allocations: 85.06 kB / 0.5693 GB, free: 9.918 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.6756, allocations: 125 kB / 0.5694 GB, free: 9.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.6757, allocations: 25.7 kB / 0.5694 GB, free: 9.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.756e-05/0.6757, allocations: 158.6 kB / 0.5696 GB, free: 9.602 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.6758, allocations: 39.61 kB / 0.5696 GB, free: 9.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.6758, allocations: 2.812 kB / 0.5696 GB, free: 9.562 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6759, allocations: 314.8 kB / 0.5699 GB, free: 9.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.6761, allocations: 23.98 kB / 0.5699 GB, free: 9.223 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.6763, allocations: 49.75 kB / 0.57 GB, free: 9.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.6764, allocations: 40.02 kB / 0.57 GB, free: 9.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6764, allocations: 0 / 0.57 GB, free: 9.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003506/0.6768, allocations: 97.61 kB / 0.5701 GB, free: 9.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.6768, allocations: 4 kB / 0.5701 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6768, allocations: 4 kB / 0.5701 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.6769, allocations: 0 / 0.5701 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.677, allocations: 19.98 kB / 0.5701 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.6771, allocations: 3.953 kB / 0.5701 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.363e-05/0.6772, allocations: 19.92 kB / 0.5701 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.6772, allocations: 0 / 0.5701 GB, free: 8.977 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 (8): * Single equations (assignments): 8 * 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.0001265/0.6773, allocations: 113.8 kB / 0.5703 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.6774, allocations: 11.91 kB / 0.5703 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.6778, allocations: 125.9 kB / 0.5704 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6779, allocations: 0 / 0.5704 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6779, allocations: 0 / 0.5704 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.6779, allocations: 3.953 kB / 0.5704 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/0.6786, allocations: 399.1 kB / 0.5708 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6787, allocations: 0 / 0.5708 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.6788, allocations: 23.98 kB / 0.5708 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.6788, allocations: 0 / 0.5708 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.6789, allocations: 4 kB / 0.5708 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.6789, allocations: 7.953 kB / 0.5708 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6789, allocations: 0 / 0.5708 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.6793, allocations: 207.4 kB / 0.571 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/0.6794, allocations: 89.02 kB / 0.5711 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.6795, allocations: 4 kB / 0.5711 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.6796, allocations: 12.92 kB / 0.5711 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.6796, allocations: 3.953 kB / 0.5711 GB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.6797, allocations: 7.984 kB / 0.5711 GB, free: 7.879 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.6798, allocations: 110.9 kB / 0.5712 GB, free: 7.773 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6798, allocations: 0 / 0.5712 GB, free: 7.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003942/0.6802, allocations: 31.94 kB / 0.5713 GB, free: 7.742 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 (8): * Single equations (assignments): 8 * 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.00128/0.6815, allocations: 460.1 kB / 0.5717 GB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004147/0.682, allocations: 75.89 kB / 0.5718 GB, free: 7.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.682, allocations: 4 kB / 0.5718 GB, free: 7.309 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.6821, allocations: 35.98 kB / 0.5718 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.6824, allocations: 15.98 kB / 0.5718 GB, free: 7.258 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/0.6831, allocations: 235.9 kB / 0.572 GB, free: 7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.6834, allocations: 0.6926 MB / 0.5727 GB, free: 6.281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.318e-05/0.6835, allocations: 15.42 kB / 0.5727 GB, free: 6.266 MB / 394.7 MB Notification: Performance of SimCode: time 1.253e-06/0.6835, allocations: 4 kB / 0.5727 GB, free: 6.262 MB / 394.7 MB Notification: Performance of Templates: time 0.005207/0.6887, allocations: 1.732 MB / 0.5744 GB, free: 4.531 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches