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.001725/0.001725, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0016/0.0016, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3953, allocations: 50.54 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003123/0.3985, allocations: 1.616 MB / 410.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.3996, allocations: 0.5648 MB / 411.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.3997, allocations: 0 / 411.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.197e-05/0.3998, allocations: 11.86 kB / 411.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.4, allocations: 11.88 kB / 411.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.4003, allocations: 63.8 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.4005, allocations: 51.84 kB / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.4006, allocations: 27.98 kB / 411.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.4008, allocations: 35.78 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.4009, allocations: 23.86 kB / 411.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.4009, allocations: 4 kB / 411.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.4009, allocations: 8 kB / 411.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.401, allocations: 11.94 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.4011, allocations: 35.73 kB / 411.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.4012, allocations: 67.67 kB / 411.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4013, allocations: 0 / 411.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4013, allocations: 0 / 411.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.4013, allocations: 4 kB / 411.8 MB, free: 15.05 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.0005989/0.4019, allocations: 400.1 kB / 412.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4019, allocations: 8.031 kB / 412.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.4021, allocations: 20.83 kB / 412.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.4024, allocations: 200.3 kB / 412.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.4024, allocations: 8.312 kB / 412.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.4025, allocations: 12.12 kB / 412.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.4028, allocations: 134.7 kB / 412.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.4028, allocations: 0 / 412.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.4028, allocations: 0 / 412.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4028, allocations: 0 / 412.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.56e-05/0.4029, allocations: 31.92 kB / 412.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.4033, allocations: 287.4 kB / 412.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.4035, allocations: 94.36 kB / 413 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.856e-05/0.4036, allocations: 51.48 kB / 413 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.4036, allocations: 3.984 kB / 413 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.4036, allocations: 38.56 kB / 413 MB, free: 13.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4036, allocations: 0 / 413 MB, free: 13.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002894/0.4039, allocations: 105.3 kB / 413.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/0.404, allocations: 137 kB / 413.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.4041, allocations: 142.4 kB / 413.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.4042, allocations: 29.7 kB / 413.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.4042, allocations: 92.08 kB / 413.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.4043, allocations: 11.89 kB / 413.5 MB, free: 13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.4043, allocations: 17.72 kB / 413.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4044, allocations: 318.8 kB / 413.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.903e-05/0.4045, allocations: 12 kB / 413.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.817e-05/0.4045, allocations: 52.22 kB / 413.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.4046, allocations: 60.22 kB / 414 MB, free: 12.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4047, allocations: 0 / 414 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001476/0.4048, allocations: 81.52 kB / 414.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4048, allocations: 10.75 kB / 414.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.4048, allocations: 4 kB / 414.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4049, allocations: 3.938 kB / 414.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.317e-05/0.405, allocations: 11.98 kB / 414.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.405, allocations: 8.156 kB / 414.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.405, allocations: 8.062 kB / 414.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.405, allocations: 4 kB / 414.1 MB, free: 12.37 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 9.406e-05/0.4051, allocations: 129.8 kB / 414.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/0.4052, allocations: 61.52 kB / 414.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.4053, allocations: 19.77 kB / 414.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4053, allocations: 4 kB / 414.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4053, allocations: 0 / 414.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4053, allocations: 8 kB / 414.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.4055, allocations: 181.6 kB / 414.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4055, allocations: 4 kB / 414.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.592e-05/0.4056, allocations: 11.98 kB / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.4056, allocations: 4 kB / 414.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.4056, allocations: 0 / 414.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4056, allocations: 3.938 kB / 414.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4056, allocations: 4 kB / 414.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.4058, allocations: 202 kB / 414.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.4059, allocations: 96.91 kB / 414.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.4059, allocations: 3.984 kB / 414.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.406, allocations: 4 kB / 414.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.406, allocations: 7.938 kB / 414.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.4061, allocations: 4 kB / 414.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.092e-05/0.4061, allocations: 122.8 kB / 415 MB, free: 11.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4061, allocations: 0 / 415 MB, free: 11.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.4064, allocations: 8 kB / 415 MB, free: 11.39 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.0001099/0.4065, allocations: 95.25 kB / 415.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.4067, allocations: 47.91 kB / 415.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4067, allocations: 4.312 kB / 415.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/0.4067, allocations: 12 kB / 415.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.4071, allocations: 30.19 kB / 415.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.4075, allocations: 205.2 kB / 415.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4078, allocations: 0.7004 MB / 416.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.811e-05/0.4078, allocations: 7.984 kB / 416.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.4079, allocations: 15.38 kB / 416.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4079, allocations: 0 / 416.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of Templates: time 0.003186/0.4111, allocations: 0.7097 MB / 416.8 MB, free: 9.516 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