Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000809/0.000809, allocations: 79.69 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008344/0.0008344, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8613/0.8613, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.514e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.00187/0.001885, allocations: 1.625 MB / 326.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006761/0.002561, allocations: 0.5375 MB / 326.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.002637, allocations: 0 / 326.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.002677, allocations: 11.86 kB / 326.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.002797, allocations: 11.88 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.003043, allocations: 71.67 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.003147, allocations: 55.78 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.484e-05/0.003232, allocations: 23.92 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.003339, allocations: 39.84 kB / 327 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.003383, allocations: 11.97 kB / 327 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.003398, allocations: 4 kB / 327 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.304e-05/0.003431, allocations: 12 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.003471, allocations: 15.92 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.003493, allocations: 19.92 kB / 327 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.003612, allocations: 67.72 kB / 327.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003614, allocations: 0 / 327.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003615, allocations: 0 / 327.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.003619, allocations: 4 kB / 327.1 MB, free: 13.41 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.0003564/0.003976, allocations: 313.9 kB / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.004016, allocations: 12.03 kB / 327.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.004043, allocations: 30.75 kB / 327.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.004151, allocations: 16.88 kB / 327.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.004323, allocations: 154 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.004333, allocations: 8.375 kB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.004342, allocations: 8.375 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.004559, allocations: 135 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004566, allocations: 0 / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.004574, allocations: 11.88 kB / 327.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004579, allocations: 4 kB / 327.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.945e-05/0.004629, allocations: 19.98 kB / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.004893, allocations: 258.5 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.005119, allocations: 94.42 kB / 328.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.005164, allocations: 39.48 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.005182, allocations: 4 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.005201, allocations: 38.5 kB / 328.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.005202, allocations: 4 kB / 328.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.00019/0.005392, allocations: 105.9 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.005442, allocations: 136.5 kB / 328.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.808e-05/0.005531, allocations: 149.4 kB / 328.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.00554, allocations: 25.7 kB / 328.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.005576, allocations: 88.14 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.005589, allocations: 7.953 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.005614, allocations: 17.67 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.00568, allocations: 322.8 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/0.005705, allocations: 8 kB / 329.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.005728, allocations: 25.77 kB / 329.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.005773, allocations: 33.64 kB / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005774, allocations: 0 / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.441e-05/0.005839, allocations: 57.61 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.00585, allocations: 8 kB / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.005854, allocations: 0 / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.005865, allocations: 4.109 kB / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.346e-05/0.005908, allocations: 8 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.005912, allocations: 0 / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.005931, allocations: 7.953 kB / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.005936, allocations: 0 / 329.2 MB, free: 11.01 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 6.378e-05/0.006, allocations: 125.8 kB / 329.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.006049, allocations: 61.58 kB / 329.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.006074, allocations: 15.92 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.006075, allocations: 0 / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.00608, allocations: 4 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006082, allocations: 4.062 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.0062, allocations: 148.6 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006202, allocations: 4 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.006235, allocations: 11.98 kB / 329.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.006237, allocations: 4 kB / 329.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.006245, allocations: 4 kB / 329.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.006246, allocations: 0 / 329.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.006248, allocations: 4 kB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.006364, allocations: 197.9 kB / 329.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.006396, allocations: 23.88 kB / 329.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.006408, allocations: 4 kB / 329.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.64e-05/0.006444, allocations: 7.938 kB / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.00647, allocations: 3.984 kB / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.006474, allocations: 4 kB / 329.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.012e-05/0.006524, allocations: 115.2 kB / 329.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006524, allocations: 0 / 329.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.006671, allocations: 8 kB / 329.9 MB, free: 10.19 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.0003048/0.006976, allocations: 0.7266 MB / 330.7 MB, free: 9.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.895e-05/0.007075, allocations: 35.91 kB / 330.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.007076, allocations: 0 / 330.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.181e-05/0.007098, allocations: 8 kB / 330.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.007374, allocations: 38.7 kB / 330.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008837/0.008258, allocations: 1.383 MB / 332.1 MB, free: 7.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.79e-05/0.008316, allocations: 86.58 kB / 332.2 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.304e-05/0.008339, allocations: 0 / 332.2 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.008381, allocations: 28.48 kB / 332.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008382, allocations: 0 / 332.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.0236, allocations: 2.557 MB / 334.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/6.928, allocations: 3.125 kB / 334.8 MB, free: 5.297 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.716134190559387]