Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001752/0.001752, allocations: 118.8 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.001827/0.001827, allocations: 202 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.549/1.549, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3824, allocations: 50.54 MB / 409.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003448/0.3859, allocations: 1.865 MB / 411.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3872, allocations: 0.701 MB / 411.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.3873, allocations: 4 kB / 411.8 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.3875, allocations: 23.73 kB / 411.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.3877, allocations: 23.8 kB / 411.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.3881, allocations: 111.7 kB / 412 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.3883, allocations: 147.6 kB / 412.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.3885, allocations: 61.7 kB / 412.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.3886, allocations: 59.72 kB / 412.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.3887, allocations: 55.69 kB / 412.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.3888, allocations: 15.94 kB / 412.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.289e-05/0.3888, allocations: 16 kB / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.3889, allocations: 23.92 kB / 412.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.389, allocations: 71.48 kB / 412.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.3892, allocations: 139.4 kB / 412.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3892, allocations: 0 / 412.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3892, allocations: 4 kB / 412.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3892, allocations: 0 / 412.6 MB, free: 14.26 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006402/0.3899, allocations: 460 kB / 413 MB, free: 13.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3899, allocations: 8.031 kB / 413 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.3901, allocations: 28.66 kB / 413 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.3905, allocations: 252.9 kB / 413.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.3905, allocations: 12.12 kB / 413.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.3906, allocations: 11.98 kB / 413.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.3911, allocations: 285.5 kB / 413.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3912, allocations: 3.984 kB / 413.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.3912, allocations: 4 kB / 413.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.3912, allocations: 4 kB / 413.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.3914, allocations: 71.89 kB / 413.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.392, allocations: 431.3 kB / 414.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.3925, allocations: 290.1 kB / 414.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.3927, allocations: 120.3 kB / 414.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.3927, allocations: 7.984 kB / 414.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.3928, allocations: 34.56 kB / 414.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.3928, allocations: 4 kB / 414.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005317/0.3933, allocations: 225.2 kB / 414.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.3935, allocations: 188.4 kB / 414.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.3937, allocations: 186.6 kB / 415.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3937, allocations: 29.7 kB / 415.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.3938, allocations: 104.5 kB / 415.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.3938, allocations: 19.8 kB / 415.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.3939, allocations: 33.72 kB / 415.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.394, allocations: 326.8 kB / 415.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.3941, allocations: 27.98 kB / 415.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.3943, allocations: 143.3 kB / 415.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.3945, allocations: 166.4 kB / 416 MB, free: 10.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3945, allocations: 11.94 kB / 416 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002706/0.3948, allocations: 169.6 kB / 416.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3948, allocations: 8 kB / 416.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.3948, allocations: 8.031 kB / 416.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.3949, allocations: 4 kB / 416.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.395, allocations: 43.86 kB / 416.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.395, allocations: 11.92 kB / 416.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.7e-05/0.3951, allocations: 19.78 kB / 416.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.3951, allocations: 8 kB / 416.2 MB, free: 10.12 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001281/0.3953, allocations: 141.7 kB / 416.4 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.3956, allocations: 145.3 kB / 416.5 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.3956, allocations: 25.39 kB / 416.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3956, allocations: 4 kB / 416.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3956, allocations: 4 kB / 416.6 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3956, allocations: 3.938 kB / 416.6 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.3959, allocations: 217.5 kB / 416.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3959, allocations: 3.984 kB / 416.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.3961, allocations: 35.98 kB / 416.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3961, allocations: 4 kB / 416.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3961, allocations: 4.031 kB / 416.8 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.3961, allocations: 4 kB / 416.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.3961, allocations: 7.922 kB / 416.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.3965, allocations: 361.2 kB / 417.2 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.3966, allocations: 120.8 kB / 417.3 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.3967, allocations: 4 kB / 417.3 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.3968, allocations: 11.98 kB / 417.3 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.3969, allocations: 7.938 kB / 417.3 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.3969, allocations: 8 kB / 417.3 MB, free: 8.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.397, allocations: 140.2 kB / 417.5 MB, free: 8.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.397, allocations: 4 kB / 417.5 MB, free: 8.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000308/0.3973, allocations: 27.91 kB / 417.5 MB, free: 8.742 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001171/0.3974, allocations: 95.25 kB / 417.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.3977, allocations: 123.1 kB / 417.7 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3978, allocations: 256 / 417.7 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.256e-05/0.3978, allocations: 19.92 kB / 417.7 MB, free: 8.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.3984, allocations: 111.4 kB / 417.8 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.399, allocations: 311.8 kB / 418.1 MB, free: 8.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.3994, allocations: 0.728 MB / 418.9 MB, free: 7.305 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.799e-05/0.3994, allocations: 13.55 kB / 418.9 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.3995, allocations: 19.38 kB / 418.9 MB, free: 7.273 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3995, allocations: 4 kB / 418.9 MB, free: 7.27 MB / 334.1 MB Notification: Performance of Templates: time 0.004963/0.4045, allocations: 1.763 MB / 420.7 MB, free: 5.52 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches