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.00112/0.00112, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 225.6 MB / 234.8 MB, free: 3.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008705/0.0008705, allocations: 100.7 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.42e-05/1.432e-05, allocations: 4 kB / 343.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0941/0.09413, allocations: 51.48 MB / 395.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3158/0.41, allocations: 76.98 MB / 472.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.4102, allocations: 79.92 kB / 472.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003931/0.4142, allocations: 1.496 MB / 473.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4142, allocations: 0 / 473.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.4142, allocations: 4 kB / 473.7 MB, free: 13.5 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.0003073/0.4145, allocations: 356.2 kB / 474.1 MB, free: 13.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.4145, allocations: 8.031 kB / 474.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.4147, allocations: 20.98 kB / 474.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.4148, allocations: 183.6 kB / 474.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-06/0.4148, allocations: 0.8594 kB / 474.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.4149, allocations: 4 kB / 474.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.103e-05/0.4149, allocations: 19.75 kB / 474.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.4151, allocations: 86.66 kB / 474.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.4151, allocations: 0 / 474.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4152, allocations: 0.6562 kB / 474.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4152, allocations: 4 kB / 474.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.4154, allocations: 239.1 kB / 474.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.849e-05/0.4155, allocations: 44.88 kB / 474.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.4155, allocations: 17.86 kB / 474.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.4155, allocations: 0 / 474.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.4155, allocations: 39.27 kB / 474.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4156, allocations: 0 / 474.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001303/0.4157, allocations: 46.53 kB / 474.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.4157, allocations: 81.86 kB / 474.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.4158, allocations: 119 kB / 475 MB, free: 12.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.4158, allocations: 29.7 kB / 475 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.4159, allocations: 93.3 kB / 475.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.4159, allocations: 3.906 kB / 475.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.4159, allocations: 0 / 475.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.072e-05/0.4159, allocations: 320.2 kB / 475.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.4159, allocations: 0 / 475.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.416, allocations: 17.97 kB / 475.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.635e-05/0.416, allocations: 4.75 kB / 475.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.416, allocations: 4.062 kB / 475.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.647e-05/0.416, allocations: 47.83 kB / 475.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.4161, allocations: 9.406 kB / 475.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.4161, allocations: 0 / 475.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4161, allocations: 0.6562 kB / 475.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.4162, allocations: 5.406 kB / 475.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.4162, allocations: 4.75 kB / 475.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.4162, allocations: 4.688 kB / 475.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.4162, allocations: 4 kB / 475.5 MB, free: 11.61 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 3.974e-05/0.4163, allocations: 105.8 kB / 475.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.4163, allocations: 46.25 kB / 475.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.4164, allocations: 12.41 kB / 475.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.4164, allocations: 0.75 kB / 475.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4164, allocations: 4 kB / 475.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.4164, allocations: 0 / 475.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.4165, allocations: 147.2 kB / 475.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4165, allocations: 0 / 475.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/0.4166, allocations: 14.19 kB / 475.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4166, allocations: 0 / 475.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.4166, allocations: 0 / 475.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4166, allocations: 4.656 kB / 475.8 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4166, allocations: 1.781 kB / 475.8 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.145e-05/0.4167, allocations: 164.6 kB / 476 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.4168, allocations: 93.27 kB / 476.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.4168, allocations: 4.562 kB / 476.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.4169, allocations: 4.562 kB / 476.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.4169, allocations: 4.672 kB / 476.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.4169, allocations: 0.8438 kB / 476.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.466e-05/0.4169, allocations: 103.7 kB / 476.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.417, allocations: 0 / 476.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.4172, allocations: 4 kB / 476.2 MB, free: 10.88 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.206e-05/0.4173, allocations: 100.9 kB / 476.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.27e-05/0.4173, allocations: 12.31 kB / 476.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4174, allocations: 0 / 476.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/0.4174, allocations: 7.938 kB / 476.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.4176, allocations: 9.656 kB / 476.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000206/0.4178, allocations: 89.73 kB / 476.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.418, allocations: 0.6987 MB / 477.1 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.033e-05/0.418, allocations: 4.656 kB / 477.1 MB, free: 9.941 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/0.418, allocations: 8.094 kB / 477.1 MB, free: 9.934 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.418, allocations: 0 / 477.1 MB, free: 9.934 MB / 346.7 MB Notification: Performance of Templates: time 0.002103/0.4201, allocations: 391.2 kB / 477.5 MB, free: 9.73 MB / 346.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/jenkins/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