Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009855/0.0009855, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 221.3 MB / 235.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007996/0.0007996, allocations: 92.05 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.049e-05/2.058e-05, allocations: 4 kB / 343.8 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08625/0.08629, allocations: 50.42 MB / 394.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2729/0.3592, allocations: 76.83 MB / 471.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.3594, allocations: 81.38 kB / 471.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003524/0.363, allocations: 1.393 MB / 472.6 MB, free: 9.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.363, allocations: 0 / 472.6 MB, free: 9.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.363, allocations: 15.92 kB / 472.6 MB, free: 9.227 MB / 346.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.0003015/0.3633, allocations: 347 kB / 472.9 MB, free: 8.844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3633, allocations: 8.031 kB / 472.9 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.3634, allocations: 11.86 kB / 472.9 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.3636, allocations: 188.1 kB / 473.1 MB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3636, allocations: 4 kB / 473.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.3636, allocations: 2.875 kB / 473.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.3638, allocations: 93.05 kB / 473.2 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.3638, allocations: 0 / 473.2 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.3638, allocations: 0 / 473.2 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3638, allocations: 3.953 kB / 473.2 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/0.3639, allocations: 12 kB / 473.2 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.3642, allocations: 273.7 kB / 473.5 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.943e-05/0.3643, allocations: 33.22 kB / 473.5 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.3643, allocations: 19 kB / 473.5 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.3643, allocations: 3.984 kB / 473.5 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.3644, allocations: 38.5 kB / 473.6 MB, free: 8.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3644, allocations: 0 / 473.6 MB, free: 8.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000144/0.3645, allocations: 53.55 kB / 473.6 MB, free: 7.969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.3646, allocations: 85.05 kB / 473.7 MB, free: 7.867 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.643e-05/0.3647, allocations: 122.6 kB / 473.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.3647, allocations: 25.7 kB / 473.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.3647, allocations: 92.12 kB / 474 MB, free: 7.613 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.3648, allocations: 4.062 kB / 474 MB, free: 7.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.3648, allocations: 0 / 474 MB, free: 7.609 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.3649, allocations: 310.8 kB / 474.3 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.3649, allocations: 8 kB / 474.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/0.3649, allocations: 17.7 kB / 474.3 MB, free: 7.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.784e-05/0.3649, allocations: 4 kB / 474.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3649, allocations: 0 / 474.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.931e-05/0.365, allocations: 53.61 kB / 474.3 MB, free: 7.203 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.365, allocations: 5.406 kB / 474.3 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.365, allocations: 0 / 474.3 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.365, allocations: 3.953 kB / 474.4 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.3651, allocations: 11.98 kB / 474.4 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3651, allocations: 0 / 474.4 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.272e-05/0.3652, allocations: 0 / 474.4 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.3652, allocations: 4 kB / 474.4 MB, free: 7.18 MB / 346.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 () * 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 4.851e-05/0.3652, allocations: 109 kB / 474.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.3653, allocations: 45.53 kB / 474.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.3653, allocations: 15.59 kB / 474.5 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3653, allocations: 0 / 474.5 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3654, allocations: 3.953 kB / 474.5 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3654, allocations: 0 / 474.5 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.3655, allocations: 161.7 kB / 474.7 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3655, allocations: 4 kB / 474.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.3656, allocations: 8.547 kB / 474.7 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3656, allocations: 4.031 kB / 474.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.3656, allocations: 0 / 474.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3656, allocations: 4 kB / 474.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3656, allocations: 4.781 kB / 474.7 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.3657, allocations: 165.9 kB / 474.9 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.3658, allocations: 93.12 kB / 475 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.3658, allocations: 4 kB / 475 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.3659, allocations: 3.938 kB / 475 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.3659, allocations: 7.953 kB / 475 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.3659, allocations: 0 / 475 MB, free: 6.457 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.847e-05/0.366, allocations: 108.9 kB / 475.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.366, allocations: 0 / 475.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.3662, allocations: 4 kB / 475.1 MB, free: 6.348 MB / 346.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 () * 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 9.818e-05/0.3663, allocations: 104.9 kB / 475.2 MB, free: 6.238 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.831e-05/0.3664, allocations: 16 kB / 475.2 MB, free: 6.223 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3664, allocations: 0 / 475.2 MB, free: 6.223 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.51e-05/0.3664, allocations: 3.938 kB / 475.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.3666, allocations: 12.03 kB / 475.2 MB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.3669, allocations: 97.77 kB / 475.3 MB, free: 6.086 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.3671, allocations: 0.6929 MB / 476 MB, free: 5.367 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.914e-05/0.3672, allocations: 7.984 kB / 476 MB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.3672, allocations: 7.438 kB / 476 MB, free: 5.352 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3672, allocations: 0 / 476 MB, free: 5.352 MB / 346.7 MB Notification: Performance of Templates: time 0.001908/0.3691, allocations: 422.7 kB / 476.4 MB, free: 4.945 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches