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.0013/0.0013, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001476/0.001476, allocations: 206.9 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001626/0.001626, allocations: 51.91 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2394, allocations: 53.36 MB / 431.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002808/0.2422, allocations: 1.615 MB / 432.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009951/0.2432, allocations: 0.5298 MB / 433.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.2433, allocations: 7.875 kB / 433.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.472e-05/0.2434, allocations: 11.86 kB / 433.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.2435, allocations: 7.938 kB / 433.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.2438, allocations: 67.73 kB / 433.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2439, allocations: 63.78 kB / 433.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.864e-05/0.244, allocations: 8 kB / 433.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.2441, allocations: 31.8 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.2442, allocations: 27.84 kB / 433.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.2442, allocations: 4 kB / 433.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.853e-05/0.2442, allocations: 7.984 kB / 433.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.2443, allocations: 15.94 kB / 433.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.2443, allocations: 27.8 kB / 433.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.2444, allocations: 65.36 kB / 433.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2444, allocations: 0 / 433.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2445, allocations: 4 kB / 433.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.2445, allocations: 0 / 433.6 MB, free: 4.176 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.0004616/0.2449, allocations: 317.9 kB / 433.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.245, allocations: 8.031 kB / 433.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.245, allocations: 34.75 kB / 433.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.2451, allocations: 24.81 kB / 434 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.2454, allocations: 154.8 kB / 434.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.2454, allocations: 384 / 434.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.2454, allocations: 11.94 kB / 434.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.2457, allocations: 130.7 kB / 434.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2457, allocations: 7.938 kB / 434.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2457, allocations: 0 / 434.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2457, allocations: 0 / 434.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.767e-05/0.2458, allocations: 27.92 kB / 434.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.2462, allocations: 250.6 kB / 434.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.2463, allocations: 94.36 kB / 434.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/0.2464, allocations: 43.55 kB / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.2464, allocations: 3.938 kB / 434.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.2465, allocations: 38.56 kB / 434.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2465, allocations: 0 / 434.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002843/0.2467, allocations: 101.8 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.266e-05/0.2468, allocations: 136.5 kB / 434.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.247, allocations: 149.6 kB / 435.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.247, allocations: 25.7 kB / 435.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.2471, allocations: 96.12 kB / 435.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.2471, allocations: 3.953 kB / 435.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.2471, allocations: 33.59 kB / 435.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2473, allocations: 314.8 kB / 435.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.2473, allocations: 15.98 kB / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.2474, allocations: 52.44 kB / 435.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.2475, allocations: 56.34 kB / 435.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2475, allocations: 4 kB / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001621/0.2476, allocations: 85.62 kB / 435.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2477, allocations: 4 kB / 435.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2477, allocations: 4 kB / 435.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2477, allocations: 0 / 435.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.2477, allocations: 15.94 kB / 435.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.2478, allocations: 11.91 kB / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.2478, allocations: 7.938 kB / 435.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.2478, allocations: 4 kB / 435.8 MB, free: 1.645 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 8.727e-05/0.2479, allocations: 113.8 kB / 435.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.471e-05/0.248, allocations: 65.67 kB / 436 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.248, allocations: 15.92 kB / 436 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.248, allocations: 7.984 kB / 436 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.248, allocations: 3.938 kB / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.248, allocations: 4 kB / 436 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.2482, allocations: 148.7 kB / 436.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2482, allocations: 0 / 436.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.2483, allocations: 12 kB / 436.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2483, allocations: 0 / 436.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2483, allocations: 0 / 436.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.2483, allocations: 15.98 kB / 436.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2483, allocations: 3.938 kB / 436.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.2485, allocations: 202.1 kB / 436.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.2486, allocations: 15.94 kB / 436.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.2486, allocations: 4 kB / 436.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.2487, allocations: 0 / 436.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.2487, allocations: 11.94 kB / 436.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.2487, allocations: 3.984 kB / 436.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.961e-05/0.2488, allocations: 111.2 kB / 436.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2488, allocations: 0 / 436.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.249, allocations: 15.94 kB / 436.5 MB, free: 0.8164 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.0004866/0.2495, allocations: 0.7267 MB / 437.3 MB, free: 56 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.2496, allocations: 51.92 kB / 437.3 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2496, allocations: 0 / 437.3 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/0.2497, allocations: 8.406 kB / 437.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.2501, allocations: 54.7 kB / 437.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.2515, allocations: 1.464 MB / 438.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.187e-05/0.2516, allocations: 79.58 kB / 438.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.604e-05/0.2516, allocations: 11.98 kB / 438.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.2517, allocations: 19.44 kB / 439 MB, free: 14.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2517, allocations: 0 / 439 MB, free: 14.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.2794, allocations: 2.452 MB / 441.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.46, allocations: 15.05 kB / 441.4 MB, free: 11.9 MB / 350.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/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: 14.044538302812725]