Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001003/0.001003, allocations: 199.3 kB / 18.07 MB, free: 3.645 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 226.5 MB / 245.3 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008112/0.000811, allocations: 99.55 kB / 297.4 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002114/0.0002115, allocations: 8 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2145, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08962/0.3041, allocations: 79.34 MB / 488 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.3044, allocations: 80.7 kB / 488.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006661/0.3111, allocations: 2.561 MB / 490.6 MB, free: 9.613 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3111, allocations: 4 kB / 490.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.3111, allocations: 4 kB / 490.7 MB, free: 9.605 MB / 362.7 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.0004569/0.3116, allocations: 439 kB / 491.1 MB, free: 9.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3116, allocations: 8.031 kB / 491.1 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.3118, allocations: 28.73 kB / 491.1 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.312, allocations: 241.7 kB / 491.4 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3121, allocations: 8.938 kB / 491.4 MB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.3121, allocations: 8 kB / 491.4 MB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.3127, allocations: 318.8 kB / 491.7 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3127, allocations: 0 / 491.7 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.3127, allocations: 12 kB / 491.7 MB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3127, allocations: 0 / 491.7 MB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.3129, allocations: 87.88 kB / 491.8 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.3135, allocations: 439.4 kB / 492.2 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.314, allocations: 311.5 kB / 492.5 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.3142, allocations: 119.9 kB / 492.6 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.3142, allocations: 11.98 kB / 492.6 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3142, allocations: 34.56 kB / 492.7 MB, free: 7.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 2.575e-06/0.3142, allocations: 3.984 kB / 492.7 MB, free: 7.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.000538/0.3148, allocations: 241.1 kB / 492.9 MB, free: 7.074 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.696e-05/0.3149, allocations: 196.2 kB / 493.1 MB, free: 6.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.3151, allocations: 183.7 kB / 493.3 MB, free: 6.648 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3151, allocations: 29.7 kB / 493.3 MB, free: 6.613 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.3152, allocations: 100.5 kB / 493.4 MB, free: 6.508 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.3152, allocations: 7.906 kB / 493.4 MB, free: 6.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-06/0.3152, allocations: 8 kB / 493.4 MB, free: 6.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3153, allocations: 330.8 kB / 493.8 MB, free: 6.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.746e-05/0.3154, allocations: 23.98 kB / 493.8 MB, free: 6.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3155, allocations: 143.4 kB / 493.9 MB, free: 5.941 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.3157, allocations: 174.4 kB / 494.1 MB, free: 5.719 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3157, allocations: 0 / 494.1 MB, free: 5.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000269/0.316, allocations: 181.2 kB / 494.3 MB, free: 5.535 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.316, allocations: 8 kB / 494.3 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.316, allocations: 4 kB / 494.3 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.316, allocations: 4 kB / 494.3 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3162, allocations: 39.92 kB / 494.3 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3162, allocations: 11.98 kB / 494.3 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.412e-05/0.3163, allocations: 20.28 kB / 494.3 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3163, allocations: 12 kB / 494.4 MB, free: 5.438 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.3164, allocations: 137.7 kB / 494.5 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.3167, allocations: 153.3 kB / 494.6 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.3168, allocations: 21.42 kB / 494.7 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3168, allocations: 8 kB / 494.7 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3168, allocations: 0 / 494.7 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3168, allocations: 0 / 494.7 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.317, allocations: 233.2 kB / 494.9 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.317, allocations: 7.984 kB / 494.9 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.3172, allocations: 31.98 kB / 494.9 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3172, allocations: 4 kB / 494.9 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3172, allocations: 8 kB / 495 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.3172, allocations: 11.97 kB / 495 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3172, allocations: 4 kB / 495 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.3176, allocations: 369 kB / 495.3 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.861e-05/0.3177, allocations: 108.8 kB / 495.4 MB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.3178, allocations: 8 kB / 495.4 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3179, allocations: 19.98 kB / 495.5 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.318, allocations: 0 / 495.5 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.318, allocations: 8 kB / 495.5 MB, free: 4.211 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.186e-05/0.3181, allocations: 137.2 kB / 495.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3181, allocations: 0 / 495.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003054/0.3184, allocations: 27.84 kB / 495.6 MB, free: 4.051 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001199/0.3185, allocations: 107.2 kB / 495.7 MB, free: 3.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.3188, allocations: 127.7 kB / 495.9 MB, free: 3.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3188, allocations: 0 / 495.9 MB, free: 3.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.3188, allocations: 17.05 kB / 495.9 MB, free: 3.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.3194, allocations: 122.4 kB / 496 MB, free: 3.684 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005896/0.32, allocations: 386.9 kB / 496.4 MB, free: 3.262 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.3203, allocations: 0.728 MB / 497.1 MB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.3204, allocations: 19.42 kB / 497.1 MB, free: 2.488 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3204, allocations: 4 kB / 497.1 MB, free: 2.484 MB / 362.7 MB Notification: Performance of Templates: time 0.003086/0.3235, allocations: 1.803 MB / 498.9 MB, free: 0.6953 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches