Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 198.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007888/0.000789, allocations: 103.7 kB / 297.4 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002115/0.0002115, allocations: 8 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.21, allocations: 51.28 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08553/0.2956, allocations: 77.84 MB / 486.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.2958, allocations: 75.95 kB / 486.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005923/0.3018, allocations: 2.219 MB / 488.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3018, allocations: 0 / 488.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3018, allocations: 6.906 kB / 488.8 MB, free: 11.46 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003361/0.3022, allocations: 379.1 kB / 489.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3022, allocations: 12.03 kB / 489.2 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.3023, allocations: 24.83 kB / 489.2 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.3025, allocations: 197 kB / 489.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3025, allocations: 4.375 kB / 489.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.3026, allocations: 12.3 kB / 489.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.3028, allocations: 114.4 kB / 489.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3028, allocations: 8.172 kB / 489.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3028, allocations: 3.938 kB / 489.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3029, allocations: 0 / 489.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.144e-05/0.303, allocations: 27.92 kB / 489.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.3033, allocations: 278.7 kB / 489.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.3034, allocations: 75.72 kB / 489.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.184e-05/0.3035, allocations: 35.91 kB / 489.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.3035, allocations: 0 / 489.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.3035, allocations: 38.5 kB / 490 MB, free: 10.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3035, allocations: 0 / 490 MB, free: 10.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002487/0.3038, allocations: 93.52 kB / 490.1 MB, free: 9.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.3038, allocations: 102.8 kB / 490.2 MB, free: 9.848 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.304, allocations: 145.8 kB / 490.3 MB, free: 9.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.304, allocations: 30.08 kB / 490.4 MB, free: 9.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.304, allocations: 88.14 kB / 490.4 MB, free: 9.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.304, allocations: 7.984 kB / 490.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.304, allocations: 0 / 490.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.3041, allocations: 314.8 kB / 490.8 MB, free: 9.246 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.3042, allocations: 11.98 kB / 490.8 MB, free: 9.234 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.781e-05/0.3042, allocations: 39.42 kB / 490.8 MB, free: 9.184 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.022e-05/0.3043, allocations: 51.36 kB / 490.9 MB, free: 9.121 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3043, allocations: 3.984 kB / 490.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001285/0.3045, allocations: 81.47 kB / 490.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3045, allocations: 4 kB / 490.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3045, allocations: 0 / 490.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3045, allocations: 4 kB / 490.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/0.3046, allocations: 11.98 kB / 491 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3046, allocations: 3.938 kB / 491 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.3047, allocations: 8.125 kB / 491 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3047, allocations: 3.984 kB / 491 MB, free: 8.996 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.49e-05/0.3048, allocations: 125.8 kB / 491.1 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.3048, allocations: 49.55 kB / 491.1 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.3049, allocations: 15.86 kB / 491.2 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3049, allocations: 0 / 491.2 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.3049, allocations: 7.938 kB / 491.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3049, allocations: 0 / 491.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.3051, allocations: 177.6 kB / 491.3 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3051, allocations: 4 kB / 491.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.3051, allocations: 15.92 kB / 491.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3051, allocations: 0 / 491.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.3052, allocations: 0 / 491.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3052, allocations: 4 kB / 491.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3052, allocations: 0 / 491.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.3053, allocations: 193 kB / 491.6 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.3054, allocations: 89 kB / 491.6 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.3054, allocations: 8 kB / 491.6 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.3055, allocations: 3.984 kB / 491.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.3055, allocations: 4 kB / 491.7 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3055, allocations: 0 / 491.7 MB, free: 8.203 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.669e-05/0.3056, allocations: 114.2 kB / 491.8 MB, free: 8.094 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3056, allocations: 0 / 491.8 MB, free: 8.094 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.3058, allocations: 8 kB / 491.8 MB, free: 8.086 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001009/0.306, allocations: 99.25 kB / 491.9 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.3061, allocations: 35.92 kB / 491.9 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3061, allocations: 4.25 kB / 491.9 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.004e-05/0.3061, allocations: 11.98 kB / 491.9 MB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.3065, allocations: 31.89 kB / 492 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.3068, allocations: 228.5 kB / 492.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.3071, allocations: 0.6887 MB / 492.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.3071, allocations: 19.36 kB / 492.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3071, allocations: 0 / 492.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of Templates: time 0.001883/0.309, allocations: 0.8094 MB / 493.7 MB, free: 6.098 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches