Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.002017/0.002017, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00228/0.00228, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 47.92 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2734, allocations: 53.35 MB / 431.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003416/0.2768, allocations: 1.905 MB / 433 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.2782, allocations: 0.7169 MB / 433.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.2784, allocations: 7.938 kB / 433.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.2785, allocations: 19.73 kB / 433.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.2787, allocations: 23.8 kB / 433.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.2791, allocations: 118.6 kB / 433.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.2793, allocations: 143.5 kB / 434.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.2794, allocations: 53.88 kB / 434.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.2796, allocations: 63.72 kB / 434.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.596e-05/0.2797, allocations: 47.72 kB / 434.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.2797, allocations: 12 kB / 434.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.658e-05/0.2798, allocations: 19.98 kB / 434.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.2798, allocations: 27.91 kB / 434.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.372e-05/0.2799, allocations: 67.55 kB / 434.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.2801, allocations: 145 kB / 434.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2801, allocations: 3.938 kB / 434.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2801, allocations: 0 / 434.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.2801, allocations: 4 kB / 434.5 MB, free: 3.469 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005902/0.2807, allocations: 381.7 kB / 434.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2808, allocations: 12.03 kB / 434.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.26e-05/0.2808, allocations: 38.73 kB / 434.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.281, allocations: 24.84 kB / 434.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.2813, allocations: 198.2 kB / 435.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.2813, allocations: 11.94 kB / 435.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.2813, allocations: 4 kB / 435.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.2819, allocations: 292.9 kB / 435.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.2819, allocations: 0 / 435.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2819, allocations: 4 kB / 435.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2819, allocations: 4 kB / 435.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.2821, allocations: 71.89 kB / 435.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.2826, allocations: 402.5 kB / 435.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.283, allocations: 216.9 kB / 436.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.2832, allocations: 104.2 kB / 436.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.2833, allocations: 11.92 kB / 436.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.2833, allocations: 38.56 kB / 436.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.2833, allocations: 0 / 436.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005375/0.2838, allocations: 217.4 kB / 436.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.284, allocations: 195.9 kB / 436.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.2842, allocations: 187.1 kB / 436.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.2842, allocations: 38.02 kB / 436.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.2843, allocations: 100.5 kB / 437 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.2843, allocations: 15.94 kB / 437 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.2843, allocations: 41.66 kB / 437.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2845, allocations: 322.8 kB / 437.4 MB, free: 304 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.2845, allocations: 23.98 kB / 437.4 MB, free: 280 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.2847, allocations: 139.4 kB / 437.5 MB, free: 84 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.2849, allocations: 174.4 kB / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2849, allocations: 4 kB / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000287/0.2852, allocations: 173.2 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2852, allocations: 8.531 kB / 437.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2853, allocations: 8 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.2853, allocations: 4 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.2854, allocations: 43.92 kB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.2854, allocations: 11.94 kB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.896e-05/0.2855, allocations: 19.81 kB / 438 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.2855, allocations: 16 kB / 438 MB, free: 15.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001136/0.2856, allocations: 121.8 kB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.2859, allocations: 153.4 kB / 438.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.286, allocations: 21.41 kB / 438.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.286, allocations: 0 / 438.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.286, allocations: 11.88 kB / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.286, allocations: 0 / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.2863, allocations: 196.5 kB / 438.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2863, allocations: 4 kB / 438.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.2864, allocations: 35.97 kB / 438.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2864, allocations: 0 / 438.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2864, allocations: 8 kB / 438.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2864, allocations: 4.031 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.2864, allocations: 7.938 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.2869, allocations: 361.1 kB / 438.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/0.2869, allocations: 31.78 kB / 438.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.287, allocations: 11.98 kB / 438.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.2871, allocations: 8 kB / 438.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.2871, allocations: 11.92 kB / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.2872, allocations: 8 kB / 439 MB, free: 14.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.2873, allocations: 136.4 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2873, allocations: 0 / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.2876, allocations: 28 kB / 439.1 MB, free: 14.35 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0008895/0.2885, allocations: 0.9591 MB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.2888, allocations: 112.7 kB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2888, allocations: 192 / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.254e-05/0.2888, allocations: 16 kB / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000636/0.2895, allocations: 104.7 kB / 440.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.2918, allocations: 2.074 MB / 442.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.2921, allocations: 0.732 MB / 443.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.87e-05/0.2922, allocations: 17.48 kB / 443.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.2923, allocations: 39.42 kB / 443.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2923, allocations: 4 kB / 443.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.3211, allocations: 3.733 MB / 446.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.26, allocations: 8 kB / 446.9 MB, free: 6.457 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_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_HoldWithDAeffects2.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.81848598599754]