Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00222/0.00222, 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.097/2.097, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.00107/0.001069, allocations: 90.64 kB / 267.5 MB, free: 14.1 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.2855/0.2855, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.507e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1236, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4868/0.6105, allocations: 86.4 MB / 0.5572 GB, free: 1.184 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.6108, allocations: 77.58 kB / 0.5572 GB, free: 1.145 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01645/0.6273, allocations: 4.048 MB / 0.5612 GB, free: 13.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6274, allocations: 0 / 0.5612 GB, free: 13.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.6274, allocations: 3.438 kB / 0.5612 GB, free: 13.67 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.0004492/0.6278, allocations: 386.1 kB / 0.5616 GB, free: 13.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.6279, allocations: 12.03 kB / 0.5616 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.628, allocations: 11.81 kB / 0.5616 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.6283, allocations: 214.1 kB / 0.5618 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.6283, allocations: 7.938 kB / 0.5618 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.6283, allocations: 4 kB / 0.5618 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.6285, allocations: 41.8 kB / 0.5618 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.6285, allocations: 0 / 0.5618 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.6285, allocations: 3.984 kB / 0.5619 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.6285, allocations: 0 / 0.5619 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.577e-05/0.6286, allocations: 15.5 kB / 0.5619 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.6291, allocations: 308 kB / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.6293, allocations: 42.12 kB / 0.5622 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.6294, allocations: 8.859 kB / 0.5622 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.6294, allocations: 3.938 kB / 0.5622 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.6295, allocations: 34.56 kB / 0.5622 GB, free: 12.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.6295, allocations: 0 / 0.5622 GB, free: 12.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005038/0.63, allocations: 132.3 kB / 0.5624 GB, free: 12.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.63, allocations: 55.41 kB / 0.5624 GB, free: 12.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.6304, allocations: 216.2 kB / 0.5626 GB, free: 12.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.6304, allocations: 29.7 kB / 0.5627 GB, free: 12.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.6305, allocations: 166.1 kB / 0.5628 GB, free: 11.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.6306, allocations: 27.33 kB / 0.5628 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.6306, allocations: 0 / 0.5628 GB, free: 11.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.6307, allocations: 322.6 kB / 0.5632 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.862e-05/0.6308, allocations: 15.88 kB / 0.5632 GB, free: 11.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.002e-05/0.6308, allocations: 11.94 kB / 0.5632 GB, free: 11.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/0.6309, allocations: 15.92 kB / 0.5632 GB, free: 11.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6309, allocations: 0 / 0.5632 GB, free: 11.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001409/0.631, allocations: 57.38 kB / 0.5632 GB, free: 11.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6311, allocations: 4 kB / 0.5633 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6311, allocations: 0 / 0.5633 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.6311, allocations: 0 / 0.5633 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.6312, allocations: 19.98 kB / 0.5633 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.6313, allocations: 3.953 kB / 0.5633 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.424e-05/0.6313, allocations: 11.69 kB / 0.5633 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.6314, allocations: 0 / 0.5633 GB, free: 11.45 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.379e-05/0.6315, allocations: 108.9 kB / 0.5634 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.6315, allocations: 8.156 kB / 0.5634 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.6317, allocations: 85.42 kB / 0.5635 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.6318, allocations: 0 / 0.5635 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.6318, allocations: 7.984 kB / 0.5635 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6318, allocations: 3.953 kB / 0.5635 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.6323, allocations: 373 kB / 0.5638 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6323, allocations: 0 / 0.5638 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.6325, allocations: 15.98 kB / 0.5639 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.6325, allocations: 3.938 kB / 0.5639 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.6325, allocations: 0 / 0.5639 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.6325, allocations: 3.953 kB / 0.5639 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6325, allocations: 4 kB / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.6327, allocations: 167 kB / 0.564 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.122e-05/0.6328, allocations: 96.91 kB / 0.5641 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.6329, allocations: 8.078 kB / 0.5641 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.633, allocations: 7.875 kB / 0.5641 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.6331, allocations: 11.92 kB / 0.5642 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.6331, allocations: 4 kB / 0.5642 GB, free: 10.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002302/0.6333, allocations: 185.9 kB / 0.5643 GB, free: 10.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6333, allocations: 0 / 0.5643 GB, free: 10.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003215/0.6337, allocations: 20 kB / 0.5644 GB, free: 10.36 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.001081/0.6348, allocations: 363.3 kB / 0.5647 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.6349, allocations: 31.44 kB / 0.5647 GB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6349, allocations: 0 / 0.5647 GB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.03e-05/0.635, allocations: 23.86 kB / 0.5647 GB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.6353, allocations: 21.53 kB / 0.5648 GB, free: 9.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/0.6359, allocations: 218.1 kB / 0.565 GB, free: 9.777 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.6362, allocations: 0.7184 MB / 0.5657 GB, free: 9.039 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.6362, allocations: 15.44 kB / 0.5657 GB, free: 9.023 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.6363, allocations: 0 / 0.5657 GB, free: 9.023 MB / 378.7 MB Notification: Performance of Templates: time 0.004657/0.6409, allocations: 1.7 MB / 0.5674 GB, free: 7.328 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches