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.001708/0.001708, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002294/0.002294, allocations: 206.4 kB / 23.73 MB, free: 4.391 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.507/1.507, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.001965/0.001965, allocations: 63.89 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.297, allocations: 53.4 MB / 431.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003138/0.3002, allocations: 1.623 MB / 432.8 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3013, allocations: 0.5298 MB / 433.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.489e-05/0.3014, allocations: 4 kB / 433.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.244e-05/0.3015, allocations: 15.86 kB / 433.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.3016, allocations: 7.875 kB / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.302, allocations: 63.81 kB / 433.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3021, allocations: 59.77 kB / 433.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.3022, allocations: 8 kB / 433.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3023, allocations: 35.86 kB / 433.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.3024, allocations: 19.84 kB / 433.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3024, allocations: 7.938 kB / 433.5 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.3025, allocations: 12 kB / 433.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.3025, allocations: 15.98 kB / 433.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.3025, allocations: 27.8 kB / 433.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.3027, allocations: 69.3 kB / 433.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3027, allocations: 4 kB / 433.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3027, allocations: 0 / 433.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3027, allocations: 0 / 433.6 MB, free: 3.973 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.0005067/0.3032, allocations: 317.8 kB / 433.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3033, allocations: 15.98 kB / 434 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.3033, allocations: 34.75 kB / 434 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.3035, allocations: 16.88 kB / 434 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.3038, allocations: 158.4 kB / 434.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3038, allocations: 4.375 kB / 434.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3038, allocations: 11.94 kB / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.3041, allocations: 126.7 kB / 434.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3041, allocations: 0 / 434.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3041, allocations: 0 / 434.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.3041, allocations: 8 kB / 434.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.052e-05/0.3042, allocations: 27.91 kB / 434.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.3046, allocations: 250.6 kB / 434.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.3048, allocations: 90.42 kB / 434.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.071e-05/0.3048, allocations: 47.42 kB / 434.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.3049, allocations: 7.984 kB / 434.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3049, allocations: 38.56 kB / 434.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3049, allocations: 0 / 434.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000301/0.3052, allocations: 109.4 kB / 434.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.505e-05/0.3053, allocations: 132.5 kB / 435 MB, free: 2.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3055, allocations: 150.4 kB / 435.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3055, allocations: 29.7 kB / 435.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.3055, allocations: 88.62 kB / 435.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.3056, allocations: 11.95 kB / 435.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.3056, allocations: 21.67 kB / 435.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3058, allocations: 322.8 kB / 435.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.117e-05/0.3058, allocations: 15.92 kB / 435.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.3059, allocations: 40.3 kB / 435.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.306, allocations: 64.2 kB / 435.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.306, allocations: 4 kB / 435.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001664/0.3062, allocations: 81.52 kB / 435.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3062, allocations: 7.984 kB / 435.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3062, allocations: 3.938 kB / 435.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3062, allocations: 4 kB / 435.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.3063, allocations: 8 kB / 435.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.3063, allocations: 7.938 kB / 435.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.3064, allocations: 8.141 kB / 435.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3064, allocations: 4 kB / 435.9 MB, free: 1.441 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 0.0001097/0.3065, allocations: 122.7 kB / 436 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.654e-05/0.3066, allocations: 57.58 kB / 436 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.3066, allocations: 15.92 kB / 436.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3066, allocations: 0 / 436.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3067, allocations: 7.938 kB / 436.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3067, allocations: 3.984 kB / 436.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.3069, allocations: 140.7 kB / 436.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3069, allocations: 8.062 kB / 436.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/0.3069, allocations: 15.98 kB / 436.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3069, allocations: 7.938 kB / 436.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.3069, allocations: 0 / 436.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3069, allocations: 0 / 436.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3069, allocations: 7.938 kB / 436.2 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.3072, allocations: 202 kB / 436.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.3072, allocations: 15.94 kB / 436.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.3073, allocations: 8.172 kB / 436.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.3073, allocations: 15.94 kB / 436.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.3074, allocations: 7.875 kB / 436.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.3074, allocations: 4 kB / 436.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.659e-05/0.3075, allocations: 114.6 kB / 436.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3075, allocations: 0 / 436.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.3077, allocations: 12 kB / 436.6 MB, free: 0.6055 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.0005943/0.3083, allocations: 0.7228 MB / 437.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.3085, allocations: 51.8 kB / 437.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3085, allocations: 0 / 437.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.392e-05/0.3085, allocations: 11.98 kB / 437.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.3089, allocations: 37.88 kB / 437.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3106, allocations: 1.47 MB / 438.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.603e-05/0.3107, allocations: 87.38 kB / 439 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.831e-05/0.3107, allocations: 0 / 439 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.3108, allocations: 23.42 kB / 439 MB, free: 14.03 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3108, allocations: 0 / 439 MB, free: 14.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.3399, allocations: 2.455 MB / 441.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.22, allocations: 12.55 kB / 441.5 MB, free: 11.68 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.853797161951661]