Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 188.4 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.681/1.681, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 47.92 kB / 370.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.382, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003246/0.3852, allocations: 1.63 MB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009934/0.3862, allocations: 0.5026 MB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.92e-05/0.3863, allocations: 3.938 kB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.589e-05/0.3864, allocations: 3.938 kB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.3865, allocations: 15.86 kB / 424.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.3868, allocations: 55.81 kB / 424.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.3869, allocations: 55.78 kB / 424.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.387, allocations: 12 kB / 424.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.211e-05/0.3871, allocations: 31.86 kB / 424.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.97e-05/0.3872, allocations: 27.78 kB / 425 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3872, allocations: 4 kB / 425 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.3872, allocations: 4 kB / 425 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.3873, allocations: 15.92 kB / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.3873, allocations: 27.81 kB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.3875, allocations: 68.08 kB / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3875, allocations: 0 / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3875, allocations: 0 / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3875, allocations: 3.938 kB / 425.1 MB, free: 12.13 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.0005001/0.388, allocations: 309.9 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.388, allocations: 12.03 kB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.569e-05/0.3881, allocations: 38.73 kB / 425.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.3881, allocations: 12.84 kB / 425.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.3883, allocations: 146.9 kB / 425.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3884, allocations: 384 / 425.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.3884, allocations: 15.92 kB / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.3887, allocations: 126.8 kB / 425.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3887, allocations: 0 / 425.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3887, allocations: 0 / 425.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.3887, allocations: 7.984 kB / 425.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.702e-05/0.3888, allocations: 27.92 kB / 425.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.3892, allocations: 258.5 kB / 426 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.3893, allocations: 94.36 kB / 426.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.043e-05/0.3894, allocations: 43.55 kB / 426.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3894, allocations: 4 kB / 426.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.3895, allocations: 38.5 kB / 426.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3895, allocations: 0 / 426.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003098/0.3898, allocations: 101.5 kB / 426.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/0.3899, allocations: 141 kB / 426.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.39, allocations: 149.7 kB / 426.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.39, allocations: 29.7 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.3901, allocations: 92.09 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.3901, allocations: 7.891 kB / 426.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.3902, allocations: 21.7 kB / 426.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.3903, allocations: 318.8 kB / 427.1 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.3903, allocations: 15.98 kB / 427.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.715e-05/0.3904, allocations: 48.22 kB / 427.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.3905, allocations: 68.16 kB / 427.2 MB, free: 9.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3905, allocations: 0 / 427.2 MB, free: 9.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001626/0.3907, allocations: 77.56 kB / 427.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3907, allocations: 11.44 kB / 427.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.3907, allocations: 0 / 427.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3907, allocations: 0 / 427.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.64e-05/0.3908, allocations: 20.05 kB / 427.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3908, allocations: 12.03 kB / 427.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.3909, allocations: 8 kB / 427.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3909, allocations: 4 kB / 427.3 MB, free: 9.617 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.0001186/0.391, allocations: 121.8 kB / 427.4 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.386e-05/0.3911, allocations: 57.59 kB / 427.5 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.3912, allocations: 11.95 kB / 427.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3912, allocations: 4 kB / 427.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3912, allocations: 3.938 kB / 427.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.3912, allocations: 8.062 kB / 427.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.3914, allocations: 148.7 kB / 427.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3914, allocations: 0 / 427.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.862e-05/0.3914, allocations: 12 kB / 427.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3914, allocations: 0 / 427.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3915, allocations: 3.984 kB / 427.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.3915, allocations: 4 kB / 427.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3915, allocations: 3.938 kB / 427.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3917, allocations: 202 kB / 427.9 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.3918, allocations: 19.94 kB / 427.9 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.3918, allocations: 0 / 427.9 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.3918, allocations: 4 kB / 427.9 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.3919, allocations: 3.938 kB / 427.9 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.3919, allocations: 4 kB / 427.9 MB, free: 8.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.79e-05/0.392, allocations: 113.3 kB / 428 MB, free: 8.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.392, allocations: 0 / 428 MB, free: 8.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.3922, allocations: 12 kB / 428 MB, free: 8.809 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.0005705/0.3928, allocations: 0.7305 MB / 428.8 MB, free: 8.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.393, allocations: 47.86 kB / 428.8 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.393, allocations: 0 / 428.8 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.393, allocations: 19.86 kB / 428.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.3934, allocations: 28.73 kB / 428.9 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.3951, allocations: 1.464 MB / 430.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.3955, allocations: 0.7039 MB / 431 MB, free: 5.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.144e-05/0.3956, allocations: 11.94 kB / 431 MB, free: 5.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.3956, allocations: 23.42 kB / 431.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3956, allocations: 0 / 431.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/0.427, allocations: 1.985 MB / 433 MB, free: 3.746 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.23, allocations: 2.344 kB / 433 MB, free: 3.746 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 14.164124131999415]