Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001899/0.001899, allocations: 203.3 kB / 18.07 MB, free: 3.641 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 226.5 MB / 245.4 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007623/0.0007624, allocations: 100 kB / 297.4 MB, free: 6.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002054/0.0002055, allocations: 8 kB / 357.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1931, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0906/0.2837, allocations: 77.65 MB / 486.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.284, allocations: 75.95 kB / 486.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004164/0.2882, allocations: 1.504 MB / 487.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2882, allocations: 3.938 kB / 487.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.2883, allocations: 8 kB / 487.9 MB, free: 12.36 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003564/0.2886, allocations: 363.3 kB / 488.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2887, allocations: 8.031 kB / 488.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.2888, allocations: 20.83 kB / 488.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.289, allocations: 192.1 kB / 488.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.289, allocations: 384 / 488.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.289, allocations: 4.375 kB / 488.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.2893, allocations: 97.59 kB / 488.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2893, allocations: 4.188 kB / 488.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.2893, allocations: 3.938 kB / 488.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2893, allocations: 0 / 488.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.904e-05/0.2894, allocations: 27.86 kB / 488.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.2897, allocations: 265.8 kB / 488.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.181e-05/0.2898, allocations: 53.08 kB / 488.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.2899, allocations: 33.7 kB / 488.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.2899, allocations: 0 / 488.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2899, allocations: 30.56 kB / 489 MB, free: 11.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.29, allocations: 0 / 489 MB, free: 11.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002456/0.2902, allocations: 81.61 kB / 489.1 MB, free: 11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.2903, allocations: 77.11 kB / 489.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.2904, allocations: 140.5 kB / 489.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.2904, allocations: 29.69 kB / 489.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.2904, allocations: 88.14 kB / 489.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.2905, allocations: 3.906 kB / 489.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.2905, allocations: 0 / 489.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.2906, allocations: 319 kB / 489.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.062e-05/0.2906, allocations: 11.98 kB / 489.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.814e-05/0.2907, allocations: 17.72 kB / 489.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.404e-05/0.2908, allocations: 41.7 kB / 489.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2908, allocations: 3.938 kB / 489.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001144/0.2909, allocations: 61.61 kB / 489.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2909, allocations: 4 kB / 489.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2909, allocations: 0 / 489.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2909, allocations: 0 / 489.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/0.291, allocations: 8.062 kB / 489.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.291, allocations: 4 kB / 489.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.2911, allocations: 7.984 kB / 489.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2911, allocations: 0 / 489.9 MB, free: 10.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.323e-05/0.2912, allocations: 117.8 kB / 490 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.2912, allocations: 37.61 kB / 490 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.2913, allocations: 15.86 kB / 490 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2913, allocations: 0 / 490 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2913, allocations: 32 / 490 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2913, allocations: 4 kB / 490 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.2915, allocations: 169.6 kB / 490.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2915, allocations: 4 kB / 490.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.2915, allocations: 11.94 kB / 490.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2915, allocations: 0 / 490.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2915, allocations: 3.984 kB / 490.2 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2915, allocations: 7.938 kB / 490.2 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2916, allocations: 0 / 490.2 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.2917, allocations: 164.2 kB / 490.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.2918, allocations: 89 kB / 490.5 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.2918, allocations: 7.938 kB / 490.5 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.2919, allocations: 3.984 kB / 490.5 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.2919, allocations: 4 kB / 490.5 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2919, allocations: 4.031 kB / 490.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.623e-05/0.292, allocations: 103.3 kB / 490.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.292, allocations: 3.938 kB / 490.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001993/0.2922, allocations: 4 kB / 490.6 MB, free: 9.289 MB / 362.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 (2): * Single equations (assignments): 2 * 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.000112/0.2923, allocations: 107.2 kB / 490.7 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.2925, allocations: 24.05 kB / 490.7 MB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2925, allocations: 4.062 kB / 490.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.2925, allocations: 8 kB / 490.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.2928, allocations: 22.3 kB / 490.8 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.2932, allocations: 203.3 kB / 491 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.2934, allocations: 0.6926 MB / 491.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.2934, allocations: 7.438 kB / 491.7 MB, free: 8.152 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2934, allocations: 0 / 491.7 MB, free: 8.152 MB / 362.7 MB Notification: Performance of Templates: time 0.001749/0.2952, allocations: 0.6792 MB / 492.3 MB, free: 7.484 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches