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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0018/0.0018, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 213.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 59.91 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2866, allocations: 53.4 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002874/0.2894, allocations: 1.641 MB / 432.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2905, allocations: 0.5803 MB / 433.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.2906, allocations: 7.938 kB / 433.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.564e-05/0.2906, allocations: 7.875 kB / 433.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.2908, allocations: 7.938 kB / 433.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.2911, allocations: 63.75 kB / 433.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.2912, allocations: 55.83 kB / 433.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.33e-05/0.2913, allocations: 19.92 kB / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.2914, allocations: 31.86 kB / 433.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.2915, allocations: 23.84 kB / 433.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.2915, allocations: 4 kB / 433.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.794e-05/0.2915, allocations: 12 kB / 433.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.2915, allocations: 19.92 kB / 433.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.2916, allocations: 31.75 kB / 433.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.2917, allocations: 60.09 kB / 433.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2917, allocations: 0 / 433.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2917, allocations: 0 / 433.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.2918, allocations: 4 kB / 433.8 MB, free: 4.098 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.0004747/0.2922, allocations: 313.9 kB / 434.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2923, allocations: 8.031 kB / 434.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.2923, allocations: 42.75 kB / 434.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.2925, allocations: 16.88 kB / 434.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.2927, allocations: 166 kB / 434.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.2928, allocations: 4.375 kB / 434.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.2928, allocations: 3.938 kB / 434.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.2931, allocations: 134.7 kB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2931, allocations: 3.938 kB / 434.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2931, allocations: 8 kB / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2931, allocations: 0 / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.056e-05/0.2932, allocations: 27.92 kB / 434.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.2936, allocations: 258.6 kB / 434.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.2937, allocations: 98.41 kB / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.041e-05/0.2938, allocations: 43.48 kB / 434.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.2938, allocations: 3.938 kB / 434.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.2939, allocations: 38.56 kB / 434.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2939, allocations: 0 / 434.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003085/0.2942, allocations: 101.5 kB / 435 MB, free: 2.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/0.2943, allocations: 132.5 kB / 435.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.2944, allocations: 150.9 kB / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.2944, allocations: 29.7 kB / 435.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.2945, allocations: 88.14 kB / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.2945, allocations: 7.953 kB / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.2946, allocations: 25.66 kB / 435.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2947, allocations: 318.8 kB / 435.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.898e-05/0.2948, allocations: 11.98 kB / 435.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.158e-05/0.2948, allocations: 52.22 kB / 435.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.295, allocations: 56.22 kB / 435.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.295, allocations: 0 / 435.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001671/0.2951, allocations: 85.56 kB / 435.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2951, allocations: 4 kB / 435.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2952, allocations: 4 kB / 435.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2952, allocations: 0 / 435.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.2953, allocations: 19.92 kB / 436 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.2953, allocations: 7.922 kB / 436 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.2953, allocations: 4 kB / 436 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.2953, allocations: 8.094 kB / 436 MB, free: 1.559 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.988e-05/0.2954, allocations: 125.8 kB / 436.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.058e-05/0.2955, allocations: 53.59 kB / 436.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.2956, allocations: 23.84 kB / 436.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2956, allocations: 4 kB / 436.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.2956, allocations: 3.938 kB / 436.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2956, allocations: 0 / 436.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.2958, allocations: 160.6 kB / 436.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2958, allocations: 0 / 436.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.754e-05/0.2959, allocations: 16.06 kB / 436.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2959, allocations: 0 / 436.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2959, allocations: 3.984 kB / 436.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2959, allocations: 4 kB / 436.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2959, allocations: 7.875 kB / 436.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.2961, allocations: 202.2 kB / 436.6 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.2961, allocations: 15.94 kB / 436.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.2962, allocations: 4 kB / 436.6 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.2962, allocations: 4 kB / 436.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.2963, allocations: 3.938 kB / 436.6 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.2963, allocations: 7.984 kB / 436.6 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.158e-05/0.2964, allocations: 110.3 kB / 436.7 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2964, allocations: 4 kB / 436.7 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.2966, allocations: 8 kB / 436.7 MB, free: 0.7266 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.0005415/0.2972, allocations: 0.7344 MB / 437.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.2973, allocations: 47.8 kB / 437.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2973, allocations: 0 / 437.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.517e-05/0.2974, allocations: 15.98 kB / 437.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.2978, allocations: 34.03 kB / 437.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.2994, allocations: 1.473 MB / 439 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.2997, allocations: 0.6924 MB / 439.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.127e-05/0.2998, allocations: 11.98 kB / 439.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/0.2998, allocations: 19.44 kB / 439.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2998, allocations: 0 / 439.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.3285, allocations: 2.02 MB / 441.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.17, allocations: 12.48 kB / 441.8 MB, free: 11.6 MB / 350.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,shiftSample1.y,hold1.y Variables in the result:time,hold1.u,hold1.y,sample1.y,shiftSample1.u,shiftSample1.y [Calling sys.exit(0), Time elapsed: 13.764362808997248]