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.001853/0.001853, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002476/0.002476, allocations: 206.8 kB / 23.73 MB, free: 4.379 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001586/0.001586, allocations: 47.86 kB / 377.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2587, allocations: 53.37 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003121/0.2618, allocations: 1.612 MB / 432.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.263, allocations: 0.5337 MB / 433.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.173e-05/0.2631, allocations: 3.938 kB / 433.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.361e-05/0.2632, allocations: 7.922 kB / 433.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.2633, allocations: 15.88 kB / 433.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.2637, allocations: 71.73 kB / 433.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.2638, allocations: 59.78 kB / 433.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2639, allocations: 8 kB / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.264, allocations: 31.84 kB / 433.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.2641, allocations: 27.86 kB / 433.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2641, allocations: 4 kB / 433.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.346e-05/0.2641, allocations: 7.984 kB / 433.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.2642, allocations: 15.94 kB / 433.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.2642, allocations: 19.86 kB / 433.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.2644, allocations: 75.97 kB / 433.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.2644, allocations: 4 kB / 433.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2644, allocations: 0 / 433.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.2644, allocations: 0 / 433.6 MB, free: 4.16 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.0005112/0.2649, allocations: 321.9 kB / 433.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2649, allocations: 8.031 kB / 433.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.265, allocations: 34.75 kB / 433.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.2651, allocations: 16.88 kB / 434 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.2654, allocations: 154.8 kB / 434.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.2654, allocations: 8.375 kB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.2654, allocations: 3.938 kB / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.2658, allocations: 130.7 kB / 434.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2658, allocations: 0 / 434.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2658, allocations: 4 kB / 434.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2658, allocations: 0 / 434.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.062e-05/0.2659, allocations: 31.86 kB / 434.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.2662, allocations: 258.5 kB / 434.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.2664, allocations: 90.42 kB / 434.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.907e-05/0.2665, allocations: 43.48 kB / 434.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.2665, allocations: 0 / 434.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.2665, allocations: 38.5 kB / 434.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.2665, allocations: 3.938 kB / 434.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003083/0.2668, allocations: 101.7 kB / 434.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.2669, allocations: 140.4 kB / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.2671, allocations: 146.4 kB / 435.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2671, allocations: 25.7 kB / 435.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.2672, allocations: 96.11 kB / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.2672, allocations: 7.953 kB / 435.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.2672, allocations: 25.67 kB / 435.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.2674, allocations: 319.2 kB / 435.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.2674, allocations: 15.98 kB / 435.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.2675, allocations: 44.28 kB / 435.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.2676, allocations: 60.22 kB / 435.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2676, allocations: 0 / 435.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001669/0.2678, allocations: 85.5 kB / 435.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2678, allocations: 8 kB / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2678, allocations: 0 / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2678, allocations: 0 / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.286e-05/0.2679, allocations: 16.12 kB / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.2679, allocations: 11.92 kB / 435.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.2679, allocations: 7.938 kB / 435.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.268, allocations: 7.984 kB / 435.8 MB, free: 1.629 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 9.056e-05/0.268, allocations: 114 kB / 435.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.697e-05/0.2681, allocations: 65.58 kB / 436 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.2682, allocations: 19.92 kB / 436 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2682, allocations: 3.984 kB / 436 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2682, allocations: 3.938 kB / 436 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.2682, allocations: 4 kB / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.2684, allocations: 144.7 kB / 436.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2684, allocations: 0 / 436.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.2685, allocations: 15.94 kB / 436.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2685, allocations: 0 / 436.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.2685, allocations: 8.062 kB / 436.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2685, allocations: 3.984 kB / 436.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2685, allocations: 3.938 kB / 436.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.2688, allocations: 206 kB / 436.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.2688, allocations: 15.94 kB / 436.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.2688, allocations: 4 kB / 436.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.2689, allocations: 4 kB / 436.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.269, allocations: 7.922 kB / 436.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.269, allocations: 4 kB / 436.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.639e-05/0.269, allocations: 117.9 kB / 436.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.269, allocations: 4 kB / 436.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.2693, allocations: 7.938 kB / 436.5 MB, free: 0.8008 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.0005087/0.2698, allocations: 0.7305 MB / 437.3 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.27, allocations: 43.91 kB / 437.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.27, allocations: 0 / 437.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.899e-05/0.27, allocations: 24.19 kB / 437.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.2704, allocations: 34.7 kB / 437.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.2719, allocations: 1.458 MB / 438.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.613e-05/0.272, allocations: 87.7 kB / 438.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.296e-05/0.272, allocations: 0 / 438.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.2721, allocations: 27.42 kB / 438.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2721, allocations: 0 / 438.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.3017, allocations: 2.493 MB / 441.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.07, allocations: 14.88 kB / 441.5 MB, free: 11.87 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.68799135601148]