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.001924/0.001924, allocations: 116 kB / 17.78 MB, free: 5.289 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.002168/0.002168, allocations: 190.9 kB / 20.73 MB, free: 2.352 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.639/1.639, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.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.001627/0.001627, allocations: 51.92 kB / 365.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1185, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003662/0.1222, allocations: 1.62 MB / 419.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1233, allocations: 0.5103 MB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.809e-05/0.1234, allocations: 0 / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.329e-05/0.1234, allocations: 7.875 kB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.1236, allocations: 15.86 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1238, allocations: 55.83 kB / 420 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.124, allocations: 55.8 kB / 420 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1241, allocations: 15.97 kB / 420.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.113e-05/0.1241, allocations: 19.92 kB / 420.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.316e-05/0.1242, allocations: 27.86 kB / 420.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1242, allocations: 4 kB / 420.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.1242, allocations: 4 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.1243, allocations: 15.92 kB / 420.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.692e-05/0.1243, allocations: 35.73 kB / 420.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.1245, allocations: 67.59 kB / 420.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1245, allocations: 4 kB / 420.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1245, allocations: 0 / 420.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1245, allocations: 0 / 420.2 MB, free: 10.15 MB / 350.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.0005894/0.1251, allocations: 383.1 kB / 420.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1251, allocations: 8.031 kB / 420.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.736e-05/0.1252, allocations: 42.73 kB / 420.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.1252, allocations: 16.78 kB / 420.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1255, allocations: 200.8 kB / 420.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1255, allocations: 8.312 kB / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1256, allocations: 7.938 kB / 420.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.1259, allocations: 130.7 kB / 421 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1259, allocations: 4 kB / 421 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1259, allocations: 7.984 kB / 421 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1259, allocations: 0 / 421 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.126, allocations: 27.92 kB / 421.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.1265, allocations: 291.4 kB / 421.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1266, allocations: 90.42 kB / 421.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.1e-05/0.1267, allocations: 43.48 kB / 421.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.1268, allocations: 3.984 kB / 421.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.1268, allocations: 42.5 kB / 421.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.1268, allocations: 0 / 421.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004/0.1272, allocations: 98.03 kB / 421.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.1274, allocations: 140.4 kB / 421.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1275, allocations: 141.8 kB / 421.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.1276, allocations: 29.7 kB / 421.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.1276, allocations: 92.08 kB / 422 MB, free: 8.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.1277, allocations: 15.89 kB / 422 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.1277, allocations: 17.72 kB / 422 MB, free: 8.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1279, allocations: 322.9 kB / 422.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.128, allocations: 11.98 kB / 422.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.268e-05/0.128, allocations: 40.3 kB / 422.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1282, allocations: 64.2 kB / 422.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1282, allocations: 0 / 422.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002102/0.1284, allocations: 85.5 kB / 422.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1284, allocations: 4 kB / 422.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1284, allocations: 160 / 422.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1284, allocations: 8 kB / 422.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1286, allocations: 12 kB / 422.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.1286, allocations: 7.938 kB / 422.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.1286, allocations: 7.984 kB / 422.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1286, allocations: 7.922 kB / 422.6 MB, free: 7.445 MB / 350.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.000137/0.1288, allocations: 118.5 kB / 422.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.1289, allocations: 57.58 kB / 422.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.1289, allocations: 23.88 kB / 422.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1289, allocations: 0 / 422.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.129, allocations: 11.88 kB / 422.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.129, allocations: 3.984 kB / 422.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.1293, allocations: 169.7 kB / 423 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1293, allocations: 128 / 423 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.643e-05/0.1293, allocations: 19.98 kB / 423 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1294, allocations: 0 / 423 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1294, allocations: 4 kB / 423 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1294, allocations: 0 / 423 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.1294, allocations: 3.938 kB / 423 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.1297, allocations: 202 kB / 423.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.339e-05/0.1297, allocations: 101 kB / 423.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.1298, allocations: 0 / 423.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.1298, allocations: 8 kB / 423.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.1299, allocations: 3.938 kB / 423.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.1299, allocations: 4 kB / 423.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.13, allocations: 117.1 kB / 423.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.13, allocations: 0 / 423.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1303, allocations: 7.938 kB / 423.4 MB, free: 6.496 MB / 350.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.0006656/0.1309, allocations: 0.7305 MB / 424.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.1311, allocations: 43.86 kB / 424.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1311, allocations: 4.312 kB / 424.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.1312, allocations: 15.98 kB / 424.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.1316, allocations: 38.36 kB / 424.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.1333, allocations: 1.45 MB / 425.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.1336, allocations: 0.7 MB / 426.4 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.392e-05/0.1337, allocations: 4 kB / 426.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.688e-05/0.1338, allocations: 23.42 kB / 426.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1338, allocations: 0 / 426.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.1603, allocations: 1.872 MB / 428.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.404/8.565, allocations: 16.05 kB / 428.3 MB, free: 1.52 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.386324219871312]