Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 195.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 226.5 MB / 245.4 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007419/0.000742, allocations: 96.53 kB / 297.4 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002481/0.0002481, allocations: 7.984 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.222, allocations: 51.28 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08589/0.308, allocations: 79.35 MB / 488 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.3082, allocations: 79.95 kB / 488.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006263/0.3145, allocations: 2.502 MB / 490.6 MB, free: 9.684 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3145, allocations: 3.938 kB / 490.6 MB, free: 9.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.3145, allocations: 4 kB / 490.6 MB, free: 9.676 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.0005166/0.3151, allocations: 435 kB / 491 MB, free: 9.203 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.3151, allocations: 12.03 kB / 491 MB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.3153, allocations: 28.73 kB / 491.1 MB, free: 9.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.3155, allocations: 245.7 kB / 491.3 MB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3156, allocations: 4.938 kB / 491.3 MB, free: 8.879 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.3156, allocations: 8 kB / 491.3 MB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.3161, allocations: 311.6 kB / 491.6 MB, free: 8.539 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3162, allocations: 3.938 kB / 491.6 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3162, allocations: 3.938 kB / 491.6 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3162, allocations: 4 kB / 491.6 MB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.3164, allocations: 83.89 kB / 491.7 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.3169, allocations: 431.5 kB / 492.1 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.3173, allocations: 314.1 kB / 492.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.3175, allocations: 121.6 kB / 492.6 MB, free: 7.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3176, allocations: 0 / 492.6 MB, free: 7.457 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3176, allocations: 38.56 kB / 492.6 MB, free: 7.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.113e-06/0.3176, allocations: 0 / 492.6 MB, free: 7.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005446/0.3182, allocations: 237.6 kB / 492.8 MB, free: 7.172 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.3183, allocations: 203.8 kB / 493 MB, free: 6.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3184, allocations: 179.7 kB / 493.2 MB, free: 6.742 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.3185, allocations: 29.7 kB / 493.2 MB, free: 6.707 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.3185, allocations: 104.1 kB / 493.3 MB, free: 6.602 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.3186, allocations: 11.89 kB / 493.3 MB, free: 6.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.3186, allocations: 8 kB / 493.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3187, allocations: 326.8 kB / 493.7 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.321e-05/0.3187, allocations: 27.98 kB / 493.7 MB, free: 6.227 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.3189, allocations: 123 kB / 493.8 MB, free: 6.055 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.3191, allocations: 169.5 kB / 494 MB, free: 5.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3191, allocations: 4 kB / 494 MB, free: 5.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002464/0.3193, allocations: 165.2 kB / 494.1 MB, free: 5.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3193, allocations: 15.92 kB / 494.2 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3194, allocations: 4 kB / 494.2 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3194, allocations: 4 kB / 494.2 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3195, allocations: 36.36 kB / 494.2 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3195, allocations: 15.94 kB / 494.2 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.889e-05/0.3196, allocations: 15.91 kB / 494.2 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3196, allocations: 8 kB / 494.2 MB, free: 5.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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 9.663e-05/0.3197, allocations: 133.8 kB / 494.4 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.32, allocations: 153.3 kB / 494.5 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.3201, allocations: 21.39 kB / 494.5 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3201, allocations: 7.938 kB / 494.6 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3201, allocations: 0 / 494.6 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3201, allocations: 0 / 494.6 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.3204, allocations: 221.5 kB / 494.8 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3204, allocations: 4 kB / 494.8 MB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.3205, allocations: 39.92 kB / 494.8 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3205, allocations: 4 kB / 494.8 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3205, allocations: 8.016 kB / 494.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3205, allocations: 7.938 kB / 494.8 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3205, allocations: 0 / 494.8 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.3209, allocations: 365 kB / 495.2 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.211e-05/0.3211, allocations: 112.9 kB / 495.3 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.3211, allocations: 4 kB / 495.3 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.3212, allocations: 23.92 kB / 495.3 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.3213, allocations: 3.938 kB / 495.3 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.3213, allocations: 8 kB / 495.3 MB, free: 4.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3214, allocations: 133.2 kB / 495.5 MB, free: 4.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3214, allocations: 0 / 495.5 MB, free: 4.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.3217, allocations: 20 kB / 495.5 MB, free: 4.211 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001443/0.3219, allocations: 103.2 kB / 495.6 MB, free: 4.102 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.3222, allocations: 126.7 kB / 495.7 MB, free: 3.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3222, allocations: 0 / 495.7 MB, free: 3.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.7e-05/0.3222, allocations: 16.92 kB / 495.7 MB, free: 3.965 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.3229, allocations: 116.2 kB / 495.8 MB, free: 3.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.324, allocations: 0.491 MB / 496.3 MB, free: 3.316 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3243, allocations: 0.7241 MB / 497.1 MB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.3244, allocations: 19.44 kB / 497.1 MB, free: 2.547 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3244, allocations: 0 / 497.1 MB, free: 2.547 MB / 362.7 MB Notification: Performance of Templates: time 0.002953/0.3273, allocations: 1.74 MB / 498.8 MB, free: 0.8242 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches