Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005581/0.005581, allocations: 113.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002302/0.002302, allocations: 208.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.549/2.549, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3946, allocations: 50.53 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.004658/0.3993, allocations: 1.62 MB / 411.5 MB, free: 8 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.4009, allocations: 0.5648 MB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.4011, allocations: 7.938 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.39e-05/0.4013, allocations: 7.875 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.4015, allocations: 7.875 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.402, allocations: 67.8 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.4022, allocations: 55.84 kB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.4024, allocations: 23.98 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.4026, allocations: 39.78 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.773e-05/0.4027, allocations: 23.86 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.4027, allocations: 0 / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.469e-05/0.4028, allocations: 12 kB / 412.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.592e-05/0.4029, allocations: 15.92 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.427e-05/0.4029, allocations: 31.75 kB / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.4032, allocations: 63.73 kB / 412.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.4032, allocations: 7.984 kB / 412.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4032, allocations: 0 / 412.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.4032, allocations: 4 kB / 412.5 MB, free: 15.07 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007026/0.404, allocations: 384.2 kB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.404, allocations: 8.031 kB / 412.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.4042, allocations: 24.77 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.4047, allocations: 203.7 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.4047, allocations: 8.375 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.4048, allocations: 8.125 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.4052, allocations: 130.6 kB / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4052, allocations: 3.938 kB / 413.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.4052, allocations: 0 / 413.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.4052, allocations: 8 kB / 413.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.4054, allocations: 31.91 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.4059, allocations: 283.4 kB / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.4062, allocations: 90.36 kB / 413.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.4063, allocations: 47.55 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.4063, allocations: 11.92 kB / 413.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.4064, allocations: 38.56 kB / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4064, allocations: 0 / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000407/0.4068, allocations: 101.4 kB / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.4069, allocations: 137 kB / 414 MB, free: 13.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.4071, allocations: 146.4 kB / 414.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.4071, allocations: 25.7 kB / 414.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.4072, allocations: 100 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.4073, allocations: 7.906 kB / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.4073, allocations: 17.72 kB / 414.3 MB, free: 13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4075, allocations: 322.8 kB / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.4076, allocations: 11.98 kB / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.411e-05/0.4077, allocations: 44.23 kB / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.4079, allocations: 64.2 kB / 414.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.4079, allocations: 4 kB / 414.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002379/0.4081, allocations: 77.53 kB / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.4081, allocations: 14.95 kB / 414.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4082, allocations: 0 / 414.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4082, allocations: 0 / 414.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.4083, allocations: 20.09 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4083, allocations: 0 / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.52e-05/0.4084, allocations: 11.92 kB / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.4084, allocations: 4 kB / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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 0.0001117/0.4086, allocations: 117.8 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.4087, allocations: 65.52 kB / 415 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.4088, allocations: 15.83 kB / 415 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.4088, allocations: 4 kB / 415 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4088, allocations: 8 kB / 415 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.4088, allocations: 7.922 kB / 415 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.4091, allocations: 177.6 kB / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4091, allocations: 3.938 kB / 415.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.4092, allocations: 16.11 kB / 415.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.4093, allocations: 4 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.4093, allocations: 0 / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.4093, allocations: 7.938 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4093, allocations: 0 / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.4096, allocations: 202 kB / 415.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4097, allocations: 100.9 kB / 415.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.4097, allocations: 4 kB / 415.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.4099, allocations: 0 / 415.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.4099, allocations: 11.94 kB / 415.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.4099, allocations: 4 kB / 415.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.4101, allocations: 114.8 kB / 415.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.485e-06/0.4101, allocations: 0 / 415.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.4105, allocations: 11.94 kB / 415.7 MB, free: 11.43 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0001358/0.4106, allocations: 99.25 kB / 415.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.4109, allocations: 48.16 kB / 415.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4109, allocations: 4.062 kB / 415.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.151e-05/0.411, allocations: 11.98 kB / 415.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.4115, allocations: 38.19 kB / 415.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.4121, allocations: 219.4 kB / 416.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.4125, allocations: 0.7044 MB / 416.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.4125, allocations: 15.38 kB / 416.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4125, allocations: 0 / 416.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of Templates: time 0.0034/0.4159, allocations: 0.9404 MB / 417.7 MB, free: 9.281 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches