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.001027/0.001027, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001141/0.001141, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9147/0.9147, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 2.395e-06/2.395e-06, allocations: 0 / 324.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.473e-05, allocations: 3.125 kB / 324.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.005068/0.005093, allocations: 1.622 MB / 326.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009906/0.006084, allocations: 0.5336 MB / 326.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.006201, allocations: 7.938 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.14e-05/0.006262, allocations: 3.938 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.006464, allocations: 15.8 kB / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004842/0.006949, allocations: 83.59 kB / 326.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.00709, allocations: 51.8 kB / 326.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.007226, allocations: 15.98 kB / 326.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.007417, allocations: 35.89 kB / 326.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.00749, allocations: 19.92 kB / 326.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.007512, allocations: 4 kB / 326.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.669e-05/0.007569, allocations: 4 kB / 326.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.007635, allocations: 23.91 kB / 326.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.007662, allocations: 11.94 kB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.007854, allocations: 71.72 kB / 327 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.00786, allocations: 0 / 327 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.007862, allocations: 0 / 327 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.007871, allocations: 0 / 327 MB, free: 13.25 MB / 298.7 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.0004583/0.008329, allocations: 321.9 kB / 327.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.008371, allocations: 11.98 kB / 327.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.008402, allocations: 34.75 kB / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.008526, allocations: 20.88 kB / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.008776, allocations: 154.1 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.008785, allocations: 384 / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.008796, allocations: 4.375 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.009056, allocations: 139 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.009066, allocations: 0 / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.009075, allocations: 0 / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.00908, allocations: 0 / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.904e-05/0.00914, allocations: 35.91 kB / 327.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.009496, allocations: 242.6 kB / 328 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.009617, allocations: 102.4 kB / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.009668, allocations: 43.42 kB / 328.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.009692, allocations: 0 / 328.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.009716, allocations: 38.55 kB / 328.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.103e-06/0.009717, allocations: 0 / 328.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002402/0.009957, allocations: 101.5 kB / 328.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.01003, allocations: 144.5 kB / 328.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.01015, allocations: 145.4 kB / 328.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.01016, allocations: 29.7 kB / 328.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.01021, allocations: 92.12 kB / 328.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.01023, allocations: 7.938 kB / 328.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.01026, allocations: 21.67 kB / 328.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.01035, allocations: 327.3 kB / 329 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.939e-05/0.01038, allocations: 8 kB / 329 MB, free: 11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.01041, allocations: 17.7 kB / 329 MB, free: 10.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.081e-05/0.01047, allocations: 33.7 kB / 329.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01047, allocations: 0 / 329.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.203e-05/0.01057, allocations: 57.62 kB / 329.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.01058, allocations: 4 kB / 329.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01058, allocations: 4.125 kB / 329.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.0106, allocations: 7.938 kB / 329.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.01066, allocations: 7.984 kB / 329.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.01067, allocations: 3.984 kB / 329.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/0.01069, allocations: 7.953 kB / 329.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.0107, allocations: 4 kB / 329.2 MB, free: 10.84 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.113e-05/0.01078, allocations: 125.7 kB / 329.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.01085, allocations: 53.66 kB / 329.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.01088, allocations: 19.97 kB / 329.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01089, allocations: 4 kB / 329.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.01089, allocations: 0 / 329.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.0109, allocations: 4 kB / 329.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.01104, allocations: 144.7 kB / 329.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01104, allocations: 0 / 329.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.01108, allocations: 15.94 kB / 329.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01109, allocations: 0 / 329.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.0111, allocations: 11.98 kB / 329.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.0111, allocations: 0 / 329.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.0111, allocations: 0 / 329.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.01124, allocations: 198 kB / 329.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.01128, allocations: 19.88 kB / 329.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.01129, allocations: 7.938 kB / 329.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.01133, allocations: 0 / 329.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.01136, allocations: 7.938 kB / 329.8 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.01137, allocations: 7.984 kB / 329.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.544e-05/0.01142, allocations: 111.2 kB / 329.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01142, allocations: 0 / 329.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001559/0.01158, allocations: 8 kB / 329.9 MB, free: 10.03 MB / 298.7 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.0003375/0.01192, allocations: 0.7305 MB / 330.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.01202, allocations: 27.98 kB / 330.6 MB, free: 9.234 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01203, allocations: 0 / 330.6 MB, free: 9.234 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.7e-05/0.01205, allocations: 19.92 kB / 330.7 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.01238, allocations: 36.06 kB / 330.7 MB, free: 9.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.01364, allocations: 1.38 MB / 332.1 MB, free: 7.695 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.686e-05/0.01373, allocations: 87.38 kB / 332.2 MB, free: 7.586 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.888e-05/0.01378, allocations: 4 kB / 332.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.427e-05/0.01385, allocations: 24.42 kB / 332.2 MB, free: 7.559 MB / 298.7 MB Notification: Performance of SimCode: time 1.593e-06/0.01385, allocations: 4.031 kB / 332.2 MB, free: 7.555 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.03018, allocations: 2.548 MB / 334.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.49/6.52, allocations: 3.984 kB / 334.7 MB, free: 5.102 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/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: 8.361616312526166]