Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.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.Test32,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.CombiTable1D.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,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.CombiTable1D.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 181.6 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.018/2.018, 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.001119/0.001119, allocations: 82.72 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.2768/0.2768, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.095e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4758/0.6004, allocations: 86.4 MB / 0.5572 GB, free: 1.164 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.6008, allocations: 80.84 kB / 0.5572 GB, free: 1.121 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01651/0.6173, allocations: 4.048 MB / 0.5612 GB, free: 13.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6173, allocations: 0 / 0.5612 GB, free: 13.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.6174, allocations: 4 kB / 0.5612 GB, free: 13.65 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.0004571/0.6178, allocations: 381.1 kB / 0.5616 GB, free: 13.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.6179, allocations: 12.03 kB / 0.5616 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.759e-05/0.618, allocations: 15.8 kB / 0.5616 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.6183, allocations: 214.5 kB / 0.5618 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.6183, allocations: 7.984 kB / 0.5618 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.6184, allocations: 4 kB / 0.5618 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.6185, allocations: 41.36 kB / 0.5618 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.6186, allocations: 0 / 0.5618 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.6186, allocations: 0 / 0.5618 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.6186, allocations: 4 kB / 0.5619 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.885e-05/0.6187, allocations: 15.86 kB / 0.5619 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.6192, allocations: 307.4 kB / 0.5622 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.6195, allocations: 42.19 kB / 0.5622 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.286e-05/0.6195, allocations: 12.8 kB / 0.5622 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.6195, allocations: 0 / 0.5622 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.6196, allocations: 38.56 kB / 0.5622 GB, free: 12.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.6196, allocations: 0 / 0.5622 GB, free: 12.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005525/0.6202, allocations: 132.4 kB / 0.5624 GB, free: 12.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.6202, allocations: 51.41 kB / 0.5624 GB, free: 12.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.6206, allocations: 220.2 kB / 0.5626 GB, free: 12.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.6206, allocations: 25.7 kB / 0.5627 GB, free: 12.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.6207, allocations: 169.8 kB / 0.5628 GB, free: 11.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.6208, allocations: 19.66 kB / 0.5628 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.6208, allocations: 0 / 0.5628 GB, free: 11.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6209, allocations: 318.5 kB / 0.5631 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.621, allocations: 19.88 kB / 0.5632 GB, free: 11.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.37e-05/0.621, allocations: 11.94 kB / 0.5632 GB, free: 11.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.129e-05/0.6211, allocations: 15.92 kB / 0.5632 GB, free: 11.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6211, allocations: 0 / 0.5632 GB, free: 11.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001551/0.6213, allocations: 57.38 kB / 0.5632 GB, free: 11.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6213, allocations: 4 kB / 0.5632 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.6213, allocations: 4 kB / 0.5633 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.6213, allocations: 256 / 0.5633 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.6215, allocations: 19.62 kB / 0.5633 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.6215, allocations: 11.94 kB / 0.5633 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.937e-05/0.6216, allocations: 8 kB / 0.5633 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.6216, allocations: 0 / 0.5633 GB, free: 11.44 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 7.826e-05/0.6217, allocations: 108.9 kB / 0.5634 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.6218, allocations: 7.906 kB / 0.5634 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.622, allocations: 85.3 kB / 0.5635 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.622, allocations: 0 / 0.5635 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6221, allocations: 0 / 0.5635 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.6221, allocations: 15.94 kB / 0.5635 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.6227, allocations: 365.2 kB / 0.5638 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6227, allocations: 0 / 0.5638 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.6228, allocations: 15.98 kB / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.6228, allocations: 0 / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.6229, allocations: 3.875 kB / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.6229, allocations: 3.953 kB / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6229, allocations: 0 / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.6231, allocations: 167.1 kB / 0.564 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.456e-05/0.6232, allocations: 96.91 kB / 0.5641 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.6233, allocations: 11.81 kB / 0.5641 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.6234, allocations: 4 kB / 0.5641 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.6234, allocations: 11.94 kB / 0.5641 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.6235, allocations: 144 / 0.5641 GB, free: 10.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002403/0.6237, allocations: 181.9 kB / 0.5643 GB, free: 10.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6237, allocations: 4 kB / 0.5643 GB, free: 10.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.6241, allocations: 20 kB / 0.5643 GB, free: 10.35 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.00106/0.6251, allocations: 375 kB / 0.5647 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.6253, allocations: 31.5 kB / 0.5647 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6253, allocations: 0 / 0.5647 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.788e-05/0.6254, allocations: 19.88 kB / 0.5647 GB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.6257, allocations: 21.52 kB / 0.5648 GB, free: 9.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.6263, allocations: 222.1 kB / 0.565 GB, free: 9.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.6267, allocations: 0.7224 MB / 0.5657 GB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.6268, allocations: 11.44 kB / 0.5657 GB, free: 9.008 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6268, allocations: 0 / 0.5657 GB, free: 9.008 MB / 378.7 MB Notification: Performance of Templates: time 0.005012/0.6318, allocations: 1.692 MB / 0.5674 GB, free: 7.32 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches