Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001706/0.001706, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 226.5 MB / 245.4 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007899/0.00079, allocations: 100.3 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002445/0.0002446, allocations: 8 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2933, allocations: 51.28 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1073/0.4007, allocations: 77.65 MB / 487 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.401, allocations: 76.58 kB / 487.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005111/0.4061, allocations: 1.512 MB / 488.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.869e-06/0.4062, allocations: 0 / 488.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.574e-05/0.4062, allocations: 8 kB / 488.6 MB, free: 12.29 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.0006571/0.4069, allocations: 355.3 kB / 489 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.407, allocations: 12.03 kB / 489 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.4072, allocations: 24.83 kB / 489 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.4074, allocations: 188.1 kB / 489.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.4075, allocations: 8.297 kB / 489.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.4075, allocations: 8.375 kB / 489.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.4078, allocations: 85.61 kB / 489.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4078, allocations: 192 / 489.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4078, allocations: 3.938 kB / 489.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.4078, allocations: 8 kB / 489.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.361e-05/0.4079, allocations: 27.92 kB / 489.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.4084, allocations: 261.8 kB / 489.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.4085, allocations: 53.2 kB / 489.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.804e-05/0.4085, allocations: 21.66 kB / 489.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.4086, allocations: 4 kB / 489.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.4086, allocations: 34.5 kB / 489.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.4086, allocations: 4 kB / 489.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002677/0.4089, allocations: 77.52 kB / 489.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.409, allocations: 77.11 kB / 489.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.4092, allocations: 144.4 kB / 490 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.4092, allocations: 25.95 kB / 490 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.4093, allocations: 92.14 kB / 490.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.4093, allocations: 7.891 kB / 490.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.4093, allocations: 0 / 490.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4094, allocations: 318.8 kB / 490.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-05/0.4095, allocations: 8 kB / 490.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.4095, allocations: 25.7 kB / 490.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.843e-05/0.4096, allocations: 33.64 kB / 490.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4097, allocations: 3.938 kB / 490.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001334/0.4098, allocations: 61.72 kB / 490.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.4098, allocations: 8.031 kB / 490.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4099, allocations: 0 / 490.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4099, allocations: 0 / 490.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.41, allocations: 8 kB / 490.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.41, allocations: 3.984 kB / 490.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.41, allocations: 4 kB / 490.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.4101, allocations: 0 / 490.6 MB, free: 10.07 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 0.000109/0.4102, allocations: 117.8 kB / 490.7 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.4103, allocations: 49.59 kB / 490.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/0.4103, allocations: 3.875 kB / 490.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4103, allocations: 4 kB / 490.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4103, allocations: 0 / 490.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4103, allocations: 0 / 490.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.4106, allocations: 169.6 kB / 490.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4106, allocations: 3.938 kB / 490.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.4107, allocations: 11.98 kB / 490.9 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.4107, allocations: 3.938 kB / 490.9 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.4107, allocations: 4.031 kB / 490.9 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4107, allocations: 0 / 490.9 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.4107, allocations: 4 kB / 490.9 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.4109, allocations: 160.2 kB / 491.1 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-05/0.411, allocations: 96.92 kB / 491.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.411, allocations: 4.031 kB / 491.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.4111, allocations: 7.984 kB / 491.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.4111, allocations: 0 / 491.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.4111, allocations: 4 kB / 491.2 MB, free: 9.332 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.356e-05/0.4112, allocations: 111.2 kB / 491.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4112, allocations: 0 / 491.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.4114, allocations: 8 kB / 491.3 MB, free: 9.215 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.0001841/0.4116, allocations: 103.2 kB / 491.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.4118, allocations: 23.98 kB / 491.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4118, allocations: 0 / 491.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.4118, allocations: 11.98 kB / 491.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.4122, allocations: 22.31 kB / 491.5 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.4126, allocations: 177.2 kB / 491.7 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.413, allocations: 0.6926 MB / 492.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.769e-05/0.413, allocations: 0 / 492.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.4131, allocations: 7.438 kB / 492.4 MB, free: 8.117 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4131, allocations: 4 kB / 492.4 MB, free: 8.113 MB / 362.7 MB Notification: Performance of Templates: time 0.002857/0.4159, allocations: 427.2 kB / 492.8 MB, free: 7.703 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches