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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 118.8 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.6/1.6, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3958, allocations: 50.55 MB / 409.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002798/0.3986, allocations: 1.55 MB / 410.8 MB, free: 12 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.3996, allocations: 0.5259 MB / 411.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.3998, allocations: 4 kB / 411.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.917e-05/0.3998, allocations: 3.938 kB / 411.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.4, allocations: 7.938 kB / 411.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.4003, allocations: 59.8 kB / 411.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.4005, allocations: 39.8 kB / 411.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.4006, allocations: 15.97 kB / 411.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.4007, allocations: 23.94 kB / 411.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.911e-05/0.4008, allocations: 27.84 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.4008, allocations: 0 / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.059e-05/0.4009, allocations: 8 kB / 411.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.4009, allocations: 11.98 kB / 411.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.401, allocations: 23.81 kB / 411.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.4011, allocations: 55.73 kB / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.4011, allocations: 7.938 kB / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4011, allocations: 0 / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.4011, allocations: 0 / 411.6 MB, free: 15.2 MB / 334.1 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.0005643/0.4017, allocations: 368.3 kB / 412 MB, free: 14.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4018, allocations: 8.031 kB / 412 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.4019, allocations: 16.83 kB / 412 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.4022, allocations: 198.3 kB / 412.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.4023, allocations: 8.312 kB / 412.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.4023, allocations: 384 / 412.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.4025, allocations: 101.4 kB / 412.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4026, allocations: 4 kB / 412.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4026, allocations: 0 / 412.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4026, allocations: 0 / 412.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.362e-05/0.4027, allocations: 15.92 kB / 412.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.403, allocations: 265.8 kB / 412.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.128e-05/0.4031, allocations: 45.16 kB / 412.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/0.4032, allocations: 21.77 kB / 412.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.4032, allocations: 11.98 kB / 412.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.4033, allocations: 34.56 kB / 412.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4033, allocations: 0 / 412.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002436/0.4035, allocations: 69.52 kB / 412.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.4036, allocations: 77.11 kB / 412.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.4037, allocations: 138.1 kB / 413 MB, free: 13.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.4038, allocations: 29.7 kB / 413 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.4038, allocations: 92.39 kB / 413.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.4038, allocations: 3.938 kB / 413.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.4039, allocations: 17.62 kB / 413.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.404, allocations: 318.8 kB / 413.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-05/0.4041, allocations: 4 kB / 413.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.035e-05/0.4041, allocations: 29.64 kB / 413.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.596e-05/0.4042, allocations: 33.7 kB / 413.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4042, allocations: 0 / 413.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001251/0.4043, allocations: 53.62 kB / 413.5 MB, free: 13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4044, allocations: 4 kB / 413.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4044, allocations: 0 / 413.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4044, allocations: 4 kB / 413.6 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.4045, allocations: 7.984 kB / 413.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.4045, allocations: 4.062 kB / 413.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.4045, allocations: 4 kB / 413.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.4045, allocations: 4 kB / 413.6 MB, free: 12.98 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.649e-05/0.4046, allocations: 121.7 kB / 413.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.4047, allocations: 45.55 kB / 413.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.4047, allocations: 7.828 kB / 413.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4047, allocations: 4 kB / 413.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4048, allocations: 0 / 413.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4048, allocations: 4.031 kB / 413.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.4049, allocations: 169.6 kB / 413.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4049, allocations: 0 / 413.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.405, allocations: 11.98 kB / 413.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.405, allocations: 3.938 kB / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.405, allocations: 0 / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.405, allocations: 0 / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.405, allocations: 0 / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.4052, allocations: 172.2 kB / 414.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.4053, allocations: 97 kB / 414.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.4053, allocations: 3.984 kB / 414.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.4054, allocations: 4 kB / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.4054, allocations: 0 / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.4054, allocations: 4 kB / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.103e-05/0.4055, allocations: 110 kB / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.864e-06/0.4055, allocations: 0 / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.4057, allocations: 15.91 kB / 414.3 MB, free: 12.11 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001045/0.4059, allocations: 95.25 kB / 414.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.406, allocations: 19.98 kB / 414.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.406, allocations: 0 / 414.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.4061, allocations: 15.92 kB / 414.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.4064, allocations: 16.22 kB / 414.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.4067, allocations: 159.6 kB / 414.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4071, allocations: 0.6885 MB / 415.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.945e-05/0.4071, allocations: 0 / 415.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.4071, allocations: 15.42 kB / 415.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4071, allocations: 0 / 415.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of Templates: time 0.002783/0.4099, allocations: 487 kB / 415.8 MB, free: 10.57 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches