Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 203.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 67.89 kB / 377.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3013, allocations: 53.41 MB / 431.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003323/0.3046, allocations: 1.83 MB / 433 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3059, allocations: 0.6585 MB / 433.6 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.3061, allocations: 7.938 kB / 433.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.3062, allocations: 23.73 kB / 433.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.3063, allocations: 23.8 kB / 433.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.3067, allocations: 111.7 kB / 433.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.3069, allocations: 151.5 kB / 433.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3071, allocations: 41.89 kB / 434 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.3072, allocations: 71.7 kB / 434.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.107e-05/0.3073, allocations: 47.72 kB / 434.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.3073, allocations: 8 kB / 434.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.99e-05/0.3074, allocations: 16 kB / 434.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.3074, allocations: 27.86 kB / 434.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.3075, allocations: 47.67 kB / 434.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.3078, allocations: 157 kB / 434.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3078, allocations: 7.938 kB / 434.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3078, allocations: 0 / 434.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.3078, allocations: 0 / 434.4 MB, free: 3.199 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.0006628/0.3084, allocations: 385.6 kB / 434.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3085, allocations: 15.98 kB / 434.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.777e-05/0.3086, allocations: 42.73 kB / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.3087, allocations: 20.84 kB / 434.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.3091, allocations: 186.3 kB / 435 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3091, allocations: 11.94 kB / 435 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.3091, allocations: 12 kB / 435 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.3097, allocations: 323.6 kB / 435.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3097, allocations: 0 / 435.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.3097, allocations: 4 kB / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3097, allocations: 4 kB / 435.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.3099, allocations: 75.89 kB / 435.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.3104, allocations: 386.5 kB / 435.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.3109, allocations: 209 kB / 436 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.311, allocations: 100.2 kB / 436.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3111, allocations: 8 kB / 436.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.3111, allocations: 42.5 kB / 436.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.3111, allocations: 0 / 436.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005487/0.3117, allocations: 225.3 kB / 436.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.3118, allocations: 187.9 kB / 436.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.312, allocations: 187.5 kB / 436.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.312, allocations: 33.7 kB / 436.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.312, allocations: 100.5 kB / 436.9 MB, free: 412 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.3121, allocations: 15.94 kB / 436.9 MB, free: 396 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.3121, allocations: 41.66 kB / 436.9 MB, free: 348 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3123, allocations: 322.8 kB / 437.2 MB, free: 16 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.3124, allocations: 31.92 kB / 437.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.3125, allocations: 161.1 kB / 437.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.3127, allocations: 174.4 kB / 437.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3127, allocations: 7.938 kB / 437.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002949/0.313, allocations: 177.6 kB / 437.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3131, allocations: 4 kB / 437.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3131, allocations: 4 kB / 437.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3131, allocations: 8 kB / 437.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3132, allocations: 39.91 kB / 437.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.3132, allocations: 15.86 kB / 437.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.3133, allocations: 15.89 kB / 437.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.3133, allocations: 12 kB / 437.9 MB, free: 15.26 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.0001649/0.3135, allocations: 138.1 kB / 438 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/0.3138, allocations: 149.4 kB / 438.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.3139, allocations: 21.39 kB / 438.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3139, allocations: 4 kB / 438.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3139, allocations: 3.938 kB / 438.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3139, allocations: 4 kB / 438.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.3142, allocations: 180.6 kB / 438.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3142, allocations: 0 / 438.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.3143, allocations: 35.97 kB / 438.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3143, allocations: 8.031 kB / 438.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.3143, allocations: 3.938 kB / 438.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.3143, allocations: 4 kB / 438.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3143, allocations: 3.938 kB / 438.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.3147, allocations: 357.2 kB / 438.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/0.3148, allocations: 39.78 kB / 438.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.3148, allocations: 4 kB / 438.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.315, allocations: 11.98 kB / 438.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.315, allocations: 23.81 kB / 438.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.315, allocations: 11.98 kB / 438.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.3151, allocations: 128.4 kB / 439 MB, free: 14.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3151, allocations: 4 kB / 439 MB, free: 14.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.3155, allocations: 20 kB / 439 MB, free: 14.04 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.0008548/0.3163, allocations: 0.955 MB / 440 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.3166, allocations: 111.8 kB / 440.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3166, allocations: 0 / 440.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.894e-05/0.3166, allocations: 17.05 kB / 440.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.3173, allocations: 106.8 kB / 440.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.3196, allocations: 2.082 MB / 442.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.3198, allocations: 119.4 kB / 442.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.692e-05/0.3199, allocations: 13.48 kB / 442.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.219e-05/0.32, allocations: 39.61 kB / 442.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of SimCode: time 1.483e-06/0.32, allocations: 4 kB / 442.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.3536, allocations: 4.208 MB / 446.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.44, allocations: 11.92 kB / 446.7 MB, free: 6.266 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv failed! Error: Could not read variable hold1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv. Warning: Get data of variable hold1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.960055050905794]