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.001168/0.001168, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001504, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.395, allocations: 50.54 MB / 409.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003289/0.3983, allocations: 1.609 MB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3995, allocations: 0.561 MB / 411.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.3997, allocations: 11.88 kB / 411.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.501e-05/0.3998, allocations: 3.938 kB / 411.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.4, allocations: 15.84 kB / 411.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.4003, allocations: 63.77 kB / 411.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.4005, allocations: 51.84 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.4006, allocations: 23.98 kB / 411.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.4008, allocations: 31.84 kB / 411.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.4009, allocations: 27.86 kB / 411.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.4009, allocations: 4 kB / 411.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.962e-05/0.401, allocations: 4 kB / 411.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.401, allocations: 15.92 kB / 411.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.4011, allocations: 35.73 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.4013, allocations: 75.66 kB / 411.8 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4013, allocations: 4 kB / 411.8 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4013, allocations: 0 / 411.8 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.4013, allocations: 0 / 411.8 MB, free: 15 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.0006276/0.4019, allocations: 384.2 kB / 412.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/0.402, allocations: 12.03 kB / 412.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.4022, allocations: 20.77 kB / 412.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.4026, allocations: 207.7 kB / 412.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.4026, allocations: 384 / 412.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.4026, allocations: 12.06 kB / 412.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.403, allocations: 130.7 kB / 412.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.403, allocations: 4 kB / 412.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.4031, allocations: 4 kB / 412.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.4031, allocations: 0 / 412.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.4032, allocations: 31.91 kB / 412.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.4037, allocations: 287.4 kB / 412.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.404, allocations: 98.36 kB / 413 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.4041, allocations: 43.47 kB / 413 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.85e-05/0.4041, allocations: 15.98 kB / 413 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.4042, allocations: 30.56 kB / 413 MB, free: 13.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 4.378e-06/0.4042, allocations: 0 / 413 MB, free: 13.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003936/0.4046, allocations: 101.9 kB / 413.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.4048, allocations: 144.5 kB / 413.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.405, allocations: 142.4 kB / 413.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.405, allocations: 25.7 kB / 413.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.4051, allocations: 100.1 kB / 413.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.4051, allocations: 3.906 kB / 413.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.4052, allocations: 17.72 kB / 413.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.4054, allocations: 326.8 kB / 413.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.4054, allocations: 19.98 kB / 413.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.4055, allocations: 36.3 kB / 413.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.4056, allocations: 68.2 kB / 414 MB, free: 12.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4056, allocations: 0 / 414 MB, free: 12.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001616/0.4058, allocations: 77.47 kB / 414.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.4058, allocations: 11.98 kB / 414.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4059, allocations: 160 / 414.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.4059, allocations: 8 kB / 414.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.406, allocations: 8 kB / 414.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.406, allocations: 0 / 414.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.4061, allocations: 11.92 kB / 414.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.4061, allocations: 4 kB / 414.1 MB, free: 12.32 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.0001163/0.4062, allocations: 125.7 kB / 414.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/0.4063, allocations: 61.53 kB / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.4064, allocations: 15.89 kB / 414.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4064, allocations: 4 kB / 414.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.4064, allocations: 3.938 kB / 414.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.4064, allocations: 15.86 kB / 414.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.4066, allocations: 177.6 kB / 414.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4066, allocations: 0 / 414.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.4067, allocations: 15.98 kB / 414.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4067, allocations: 0 / 414.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.4067, allocations: 4 kB / 414.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4067, allocations: 0 / 414.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4068, allocations: 0 / 414.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.407, allocations: 205.9 kB / 414.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4071, allocations: 100.9 kB / 414.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.4072, allocations: 4 kB / 414.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.4072, allocations: 4.188 kB / 414.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.4073, allocations: 11.94 kB / 414.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.4073, allocations: 4 kB / 414.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.269e-05/0.4074, allocations: 114.8 kB / 415 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4074, allocations: 0 / 415 MB, free: 11.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.4076, allocations: 8 kB / 415 MB, free: 11.35 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.0001481/0.4078, allocations: 99.23 kB / 415.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.408, allocations: 51.92 kB / 415.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.408, allocations: 0 / 415.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.887e-05/0.4081, allocations: 19.92 kB / 415.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.4085, allocations: 24.02 kB / 415.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.409, allocations: 206.3 kB / 415.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.4094, allocations: 0.6963 MB / 416.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.841e-05/0.4095, allocations: 4 kB / 416.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.4095, allocations: 7.438 kB / 416.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4095, allocations: 0 / 416.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of Templates: time 0.003298/0.4128, allocations: 0.7256 MB / 416.8 MB, free: 9.465 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/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