Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009661/0.0009661, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 226.5 MB / 244.1 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007229/0.000723, allocations: 98.08 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2998/0.2998, allocations: 44.83 MB / 393 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002689/0.0002689, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2846, allocations: 62.96 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1057/0.3904, allocations: 89.57 MB / 0.6039 GB, free: 15.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.3906, allocations: 79.95 kB / 0.604 GB, free: 15.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01329/0.404, allocations: 5.457 MB / 0.6093 GB, free: 10.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.404, allocations: 0 / 0.6093 GB, free: 10.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.404, allocations: 12 kB / 0.6094 GB, free: 10.25 MB / 426.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.0004044/0.4044, allocations: 399.5 kB / 0.6097 GB, free: 9.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4045, allocations: 8.031 kB / 0.6097 GB, free: 9.797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.4045, allocations: 4.938 kB / 0.6098 GB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.4048, allocations: 209.8 kB / 0.61 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.4048, allocations: 384 / 0.61 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.4048, allocations: 4.375 kB / 0.61 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.405, allocations: 67.95 kB / 0.61 GB, free: 9.469 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.405, allocations: 192 / 0.61 GB, free: 9.469 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.405, allocations: 3.938 kB / 0.61 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.405, allocations: 4 kB / 0.61 GB, free: 9.461 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.451e-05/0.4051, allocations: 23.98 kB / 0.6101 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.4055, allocations: 280.9 kB / 0.6103 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.4057, allocations: 46.5 kB / 0.6104 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.4057, allocations: 16.86 kB / 0.6104 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.4058, allocations: 0 / 0.6104 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.4058, allocations: 42.64 kB / 0.6104 GB, free: 8.988 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.405e-06/0.4058, allocations: 0 / 0.6104 GB, free: 8.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005055/0.4063, allocations: 153.3 kB / 0.6106 GB, free: 8.832 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.4064, allocations: 81.11 kB / 0.6106 GB, free: 8.734 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.4066, allocations: 148.4 kB / 0.6108 GB, free: 8.582 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.4066, allocations: 25.7 kB / 0.6108 GB, free: 8.551 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.4066, allocations: 96.05 kB / 0.6109 GB, free: 8.453 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.4067, allocations: 19.73 kB / 0.6109 GB, free: 8.434 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-06/0.4067, allocations: 0 / 0.6109 GB, free: 8.434 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4068, allocations: 323.9 kB / 0.6112 GB, free: 8.109 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.4069, allocations: 27.98 kB / 0.6113 GB, free: 8.082 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.407, allocations: 37.69 kB / 0.6113 GB, free: 8.039 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.4071, allocations: 52.88 kB / 0.6113 GB, free: 7.984 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4071, allocations: 0 / 0.6113 GB, free: 7.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001755/0.4073, allocations: 89.75 kB / 0.6114 GB, free: 7.891 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4073, allocations: 4 kB / 0.6114 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4073, allocations: 8 kB / 0.6114 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.4073, allocations: 0 / 0.6114 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.4074, allocations: 16.28 kB / 0.6115 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4074, allocations: 3.984 kB / 0.6115 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.4075, allocations: 8 kB / 0.6115 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.4075, allocations: 7.938 kB / 0.6115 GB, free: 7.844 MB / 426.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 7.596e-05/0.4076, allocations: 113.8 kB / 0.6116 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.4076, allocations: 11.91 kB / 0.6116 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.4078, allocations: 97.95 kB / 0.6117 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4078, allocations: 4 kB / 0.6117 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.4078, allocations: 7.922 kB / 0.6117 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4078, allocations: 0 / 0.6117 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.4082, allocations: 358.5 kB / 0.612 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4083, allocations: 0 / 0.612 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.4083, allocations: 15.98 kB / 0.6121 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4083, allocations: 0 / 0.6121 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.4083, allocations: 0 / 0.6121 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4083, allocations: 0 / 0.6121 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4083, allocations: 3.938 kB / 0.6121 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.4086, allocations: 191.4 kB / 0.6122 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.4086, allocations: 89 kB / 0.6123 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.4087, allocations: 0 / 0.6123 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.4087, allocations: 15.98 kB / 0.6123 GB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.4088, allocations: 8.125 kB / 0.6124 GB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.4088, allocations: 4 kB / 0.6124 GB, free: 6.836 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.464e-05/0.4089, allocations: 118.7 kB / 0.6125 GB, free: 6.723 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4089, allocations: 0 / 0.6125 GB, free: 6.723 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002861/0.4092, allocations: 51.86 kB / 0.6125 GB, free: 6.672 MB / 426.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.001002/0.4102, allocations: 497 kB / 0.613 GB, free: 6.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.4104, allocations: 59.91 kB / 0.613 GB, free: 6.281 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4104, allocations: 0 / 0.613 GB, free: 6.281 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.495e-05/0.4105, allocations: 27.98 kB / 0.6131 GB, free: 6.254 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.4108, allocations: 15.08 kB / 0.6131 GB, free: 6.242 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.4112, allocations: 209.9 kB / 0.6133 GB, free: 6.008 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.4114, allocations: 0.6887 MB / 0.614 GB, free: 5.293 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.4114, allocations: 27.36 kB / 0.614 GB, free: 5.266 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4115, allocations: 0 / 0.614 GB, free: 5.266 MB / 426.7 MB Notification: Performance of Templates: time 0.003249/0.4147, allocations: 1.905 MB / 0.6159 GB, free: 3.363 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches