Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, 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.256/1.256, allocations: 226.5 MB / 244.1 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007928/0.0007929, allocations: 101.2 kB / 296.1 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2779/0.2779, allocations: 44.82 MB / 392.9 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002424/0.0002425, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2654, allocations: 62.95 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.3694, allocations: 89.37 MB / 0.6037 GB, free: 28 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.3697, allocations: 79.95 kB / 0.6038 GB, free: 15.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0131/0.3828, allocations: 5.236 MB / 0.6089 GB, free: 10.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3829, allocations: 0 / 0.6089 GB, free: 10.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.3829, allocations: 4 kB / 0.6089 GB, free: 10.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005034/0.3834, allocations: 447.2 kB / 0.6094 GB, free: 10.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3834, allocations: 12.88 kB / 0.6094 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.3835, allocations: 12.75 kB / 0.6094 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.3838, allocations: 224.7 kB / 0.6096 GB, free: 9.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3838, allocations: 4.359 kB / 0.6096 GB, free: 9.922 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.3838, allocations: 12.36 kB / 0.6096 GB, free: 9.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.3839, allocations: 50.25 kB / 0.6097 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.384, allocations: 192 / 0.6097 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.384, allocations: 7.938 kB / 0.6097 GB, free: 9.848 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.384, allocations: 0 / 0.6097 GB, free: 9.848 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/0.3841, allocations: 27.97 kB / 0.6097 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.3845, allocations: 316.7 kB / 0.61 GB, free: 9.461 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3846, allocations: 46.56 kB / 0.61 GB, free: 9.406 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.3847, allocations: 20.94 kB / 0.6101 GB, free: 9.383 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.3847, allocations: 0 / 0.6101 GB, free: 9.383 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3847, allocations: 34.56 kB / 0.6101 GB, free: 9.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3847, allocations: 0 / 0.6101 GB, free: 9.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008937/0.3856, allocations: 258.1 kB / 0.6103 GB, free: 9.082 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3857, allocations: 51.41 kB / 0.6104 GB, free: 9.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.386, allocations: 239.3 kB / 0.6106 GB, free: 8.777 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.386, allocations: 33.7 kB / 0.6107 GB, free: 8.738 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.3861, allocations: 112.1 kB / 0.6108 GB, free: 8.625 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.3861, allocations: 31.67 kB / 0.6108 GB, free: 8.594 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.3861, allocations: 0 / 0.6108 GB, free: 8.594 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3863, allocations: 330.8 kB / 0.6111 GB, free: 8.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.706e-05/0.3863, allocations: 23.98 kB / 0.6111 GB, free: 8.238 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-05/0.3864, allocations: 35.98 kB / 0.6112 GB, free: 8.203 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.3866, allocations: 72.98 kB / 0.6112 GB, free: 8.129 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3866, allocations: 3.938 kB / 0.6112 GB, free: 8.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001999/0.3868, allocations: 113.5 kB / 0.6113 GB, free: 8.008 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3868, allocations: 6.812 kB / 0.6114 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3868, allocations: 0 / 0.6114 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3869, allocations: 0 / 0.6114 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.387, allocations: 23.98 kB / 0.6114 GB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.387, allocations: 0 / 0.6114 GB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.387, allocations: 16 kB / 0.6114 GB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.387, allocations: 0 / 0.6114 GB, free: 7.965 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 (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.0001091/0.3872, allocations: 137.8 kB / 0.6115 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.3872, allocations: 11.81 kB / 0.6115 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.3875, allocations: 134.9 kB / 0.6117 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3875, allocations: 4 kB / 0.6117 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3875, allocations: 0 / 0.6117 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3875, allocations: 0 / 0.6117 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005398/0.3881, allocations: 439.1 kB / 0.6121 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.3881, allocations: 8.031 kB / 0.6121 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.615e-05/0.3881, allocations: 19.98 kB / 0.6121 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3881, allocations: 432 / 0.6121 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3882, allocations: 3.938 kB / 0.6121 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3882, allocations: 0 / 0.6121 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3882, allocations: 4 kB / 0.6121 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.3884, allocations: 220.2 kB / 0.6123 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.3885, allocations: 96.91 kB / 0.6124 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.3885, allocations: 11.92 kB / 0.6124 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.3886, allocations: 8 kB / 0.6124 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3886, allocations: 7.984 kB / 0.6125 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.3887, allocations: 4 kB / 0.6125 GB, free: 6.766 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.3888, allocations: 191.5 kB / 0.6126 GB, free: 6.582 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3888, allocations: 0 / 0.6126 GB, free: 6.582 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002531/0.3891, allocations: 31.98 kB / 0.6127 GB, free: 6.551 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0009951/0.3901, allocations: 460.1 kB / 0.6131 GB, free: 6.262 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.3903, allocations: 67.97 kB / 0.6132 GB, free: 6.195 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3903, allocations: 0 / 0.6132 GB, free: 6.195 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.968e-05/0.3904, allocations: 43.98 kB / 0.6132 GB, free: 6.152 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.3907, allocations: 21.97 kB / 0.6132 GB, free: 6.137 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.3913, allocations: 348.1 kB / 0.6136 GB, free: 5.766 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.3916, allocations: 0.716 MB / 0.6143 GB, free: 5.023 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.3916, allocations: 15.44 kB / 0.6143 GB, free: 5.008 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3916, allocations: 0 / 0.6143 GB, free: 5.008 MB / 426.7 MB Notification: Performance of Templates: time 0.003432/0.3951, allocations: 1.925 MB / 0.6162 GB, free: 3.082 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches