Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009902/0.0009904, allocations: 90.5 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.543e-05, allocations: 4 kB / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 51.48 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3375/0.4519, allocations: 77.83 MB / 479.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/0.4521, allocations: 83.77 kB / 479.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005065/0.4572, allocations: 2.215 MB / 482.2 MB, free: 9.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4572, allocations: 4 kB / 482.2 MB, free: 9.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.4572, allocations: 4 kB / 482.2 MB, free: 9.766 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002284/0.4575, allocations: 361.6 kB / 482.5 MB, free: 9.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.4575, allocations: 12.02 kB / 482.5 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.4576, allocations: 16.22 kB / 482.5 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.4578, allocations: 198.9 kB / 482.7 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.4578, allocations: 0 / 482.7 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.4578, allocations: 15.23 kB / 482.8 MB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.458, allocations: 102.7 kB / 482.9 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.458, allocations: 0 / 482.9 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.458, allocations: 2.188 kB / 482.9 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.458, allocations: 0 / 482.9 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.443e-05/0.4581, allocations: 17.5 kB / 482.9 MB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.4583, allocations: 283.9 kB / 483.2 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.634e-05/0.4584, allocations: 71.73 kB / 483.2 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.4585, allocations: 28.59 kB / 483.2 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.4585, allocations: 4 kB / 483.3 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.4585, allocations: 38.36 kB / 483.3 MB, free: 8.504 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4585, allocations: 0 / 483.3 MB, free: 8.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001407/0.4587, allocations: 65.78 kB / 483.4 MB, free: 8.438 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.4587, allocations: 106.8 kB / 483.5 MB, free: 8.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.4588, allocations: 124.6 kB / 483.6 MB, free: 8.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.4588, allocations: 33.64 kB / 483.6 MB, free: 8.156 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.094e-05/0.4588, allocations: 87.55 kB / 483.7 MB, free: 8.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.094e-05/0.4588, allocations: 7.859 kB / 483.7 MB, free: 8.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.4588, allocations: 2.156 kB / 483.7 MB, free: 8.066 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.916e-05/0.4589, allocations: 322.9 kB / 484 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.4589, allocations: 11.88 kB / 484 MB, free: 7.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/0.4589, allocations: 27.42 kB / 484.1 MB, free: 7.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.054e-05/0.459, allocations: 7.812 kB / 484.1 MB, free: 7.691 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.459, allocations: 4 kB / 484.1 MB, free: 7.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.204e-05/0.459, allocations: 61.16 kB / 484.1 MB, free: 7.625 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.4591, allocations: 4 kB / 484.1 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4591, allocations: 4 kB / 484.1 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.4591, allocations: 0 / 484.1 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.4592, allocations: 11.94 kB / 484.2 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4592, allocations: 3.984 kB / 484.2 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.956e-05/0.4592, allocations: 7.75 kB / 484.2 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.4592, allocations: 8 kB / 484.2 MB, free: 7.59 MB / 346.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 () * 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 3.346e-05/0.4593, allocations: 105.5 kB / 484.3 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.4593, allocations: 57.34 kB / 484.3 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.4594, allocations: 11.59 kB / 484.3 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4594, allocations: 0 / 484.3 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4594, allocations: 0 / 484.3 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4594, allocations: 0 / 484.3 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.4595, allocations: 173.3 kB / 484.5 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4595, allocations: 6.438 kB / 484.5 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.4596, allocations: 11.98 kB / 484.5 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4596, allocations: 5.312 kB / 484.5 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.4596, allocations: 0 / 484.5 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4596, allocations: 1.562 kB / 484.5 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4596, allocations: 4 kB / 484.5 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.46e-05/0.4597, allocations: 197.1 kB / 484.7 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.4598, allocations: 96.88 kB / 484.8 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.4598, allocations: 0 / 484.8 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.4599, allocations: 4 kB / 484.8 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.4599, allocations: 0 / 484.8 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.4599, allocations: 4 kB / 484.8 MB, free: 6.852 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.619e-05/0.4599, allocations: 120.7 kB / 485 MB, free: 6.746 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.46, allocations: 4 kB / 485 MB, free: 6.742 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000202/0.4602, allocations: 7.938 kB / 485 MB, free: 6.734 MB / 346.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 () * 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 7.616e-05/0.4602, allocations: 99.23 kB / 485.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.446e-05/0.4603, allocations: 29.72 kB / 485.1 MB, free: 6.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4603, allocations: 0 / 485.1 MB, free: 6.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.4604, allocations: 4 kB / 485.1 MB, free: 6.605 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.4606, allocations: 24.27 kB / 485.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001886/0.4608, allocations: 109.7 kB / 485.2 MB, free: 6.465 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.4609, allocations: 0.6965 MB / 485.9 MB, free: 5.742 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.101e-05/0.4609, allocations: 8.312 kB / 485.9 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.4609, allocations: 7.438 kB / 485.9 MB, free: 5.723 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4609, allocations: 4 kB / 485.9 MB, free: 5.719 MB / 346.7 MB Notification: Performance of Templates: time 0.002013/0.463, allocations: 0.5215 MB / 486.5 MB, free: 5.242 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches