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.0008957/0.0008957, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009087/0.0009087, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8969/0.8969, allocations: 173.4 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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 1.283e-06/1.283e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.357e-05, allocations: 6.219 kB / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.001794/0.001808, allocations: 1.592 MB / 320 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006508/0.002458, allocations: 490.5 kB / 320.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.002537, allocations: 4 kB / 320.5 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.167e-05/0.002578, allocations: 11.81 kB / 320.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.002703, allocations: 11.88 kB / 320.5 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.002923, allocations: 55.75 kB / 320.6 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.163e-05/0.003014, allocations: 55.78 kB / 320.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.538e-05/0.0031, allocations: 19.97 kB / 320.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.294e-05/0.003163, allocations: 35.89 kB / 320.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.487e-05/0.003207, allocations: 19.92 kB / 320.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.003228, allocations: 0 / 320.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.003237, allocations: 4 kB / 320.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.003279, allocations: 15.94 kB / 320.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.003304, allocations: 19.91 kB / 320.8 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.003408, allocations: 59.8 kB / 320.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.00341, allocations: 0 / 320.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003411, allocations: 4 kB / 320.8 MB, free: 3.941 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.003414, allocations: 0 / 320.8 MB, free: 3.941 MB / 282.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.0003501/0.003764, allocations: 317.8 kB / 321.1 MB, free: 3.602 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.0038, allocations: 8.922 kB / 321.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.003828, allocations: 38.75 kB / 321.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.003854, allocations: 8.891 kB / 321.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.00403, allocations: 141.2 kB / 321.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.00404, allocations: 8.375 kB / 321.3 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.00405, allocations: 4.375 kB / 321.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.004274, allocations: 143 kB / 321.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004282, allocations: 0 / 321.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.00429, allocations: 0 / 321.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.004295, allocations: 4 kB / 321.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.048e-05/0.004346, allocations: 27.92 kB / 321.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.004628, allocations: 258.5 kB / 321.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.463e-05/0.004713, allocations: 94.42 kB / 321.9 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.004765, allocations: 43.42 kB / 321.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.004785, allocations: 4 kB / 321.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.004806, allocations: 38.5 kB / 321.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.004807, allocations: 0 / 321.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002051/0.005012, allocations: 105.9 kB / 322 MB, free: 2.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.005068, allocations: 132.5 kB / 322.2 MB, free: 2.363 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.005189, allocations: 145.8 kB / 322.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/0.005199, allocations: 29.64 kB / 322.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.005238, allocations: 88.14 kB / 322.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.005254, allocations: 11.89 kB / 322.4 MB, free: 2.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.00528, allocations: 13.72 kB / 322.5 MB, free: 2.055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.136e-05/0.005361, allocations: 322.8 kB / 322.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.005384, allocations: 11.94 kB / 322.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.005411, allocations: 25.77 kB / 322.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.758e-05/0.005459, allocations: 29.7 kB / 322.8 MB, free: 1.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.005462, allocations: 4 kB / 322.8 MB, free: 1.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.756e-05/0.005529, allocations: 57.58 kB / 322.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.005542, allocations: 4 kB / 322.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.005547, allocations: 0 / 322.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.005559, allocations: 4 kB / 322.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.005613, allocations: 12.11 kB / 322.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.005619, allocations: 0 / 322.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.005637, allocations: 0 / 322.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.005645, allocations: 4 kB / 322.9 MB, free: 1.562 MB / 282.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 5.872e-05/0.005704, allocations: 121.8 kB / 323 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.005753, allocations: 57.58 kB / 323.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.005792, allocations: 15.92 kB / 323.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.005795, allocations: 4 kB / 323.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.005799, allocations: 0 / 323.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.005803, allocations: 4.062 kB / 323.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.005997, allocations: 148.7 kB / 323.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005998, allocations: 0 / 323.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.006035, allocations: 19.98 kB / 323.3 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.006037, allocations: 0 / 323.3 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.006043, allocations: 0 / 323.3 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.006049, allocations: 11.94 kB / 323.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.00605, allocations: 0 / 323.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.006169, allocations: 190 kB / 323.5 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.006202, allocations: 31.81 kB / 323.5 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.006213, allocations: 4 kB / 323.5 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.00625, allocations: 4 kB / 323.5 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.006277, allocations: 7.984 kB / 323.5 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.006281, allocations: 0 / 323.5 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.952e-05/0.00633, allocations: 122.4 kB / 323.7 MB, free: 0.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006331, allocations: 0 / 323.7 MB, free: 0.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001471/0.006478, allocations: 7.938 kB / 323.7 MB, free: 0.7422 MB / 282.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.0002828/0.00676, allocations: 0.7228 MB / 324.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.098e-05/0.006851, allocations: 27.92 kB / 324.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.006853, allocations: 0 / 324.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.006876, allocations: 19.92 kB / 324.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.007132, allocations: 37.86 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.008152, allocations: 1.379 MB / 325.8 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.288e-05/0.008215, allocations: 83.53 kB / 325.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.065e-05/0.008245, allocations: 4 kB / 325.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.008288, allocations: 20.5 kB / 325.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.008289, allocations: 0 / 325.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01381/0.0221, allocations: 2.536 MB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.64/6.662, allocations: 6.625 kB / 328.5 MB, free: 11.88 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/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: 8.46967778261751]