Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001512/0.001512, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009799/0.0009799, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.879/0.879, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.863e-05, allocations: 2.984 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002227/0.002245, allocations: 1.856 MB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008616/0.003107, allocations: 0.6506 MB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.003216, allocations: 15.88 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.003339, allocations: 23.73 kB / 327.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.003449, allocations: 23.8 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.003771, allocations: 115.1 kB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.003921, allocations: 151.4 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.004049, allocations: 41.97 kB / 327.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.004203, allocations: 87.73 kB / 327.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.004267, allocations: 35.83 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.004287, allocations: 8 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.22e-05/0.004329, allocations: 24 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.004378, allocations: 27.84 kB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.004412, allocations: 35.91 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.004585, allocations: 155.4 kB / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004587, allocations: 0 / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004588, allocations: 0 / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.004593, allocations: 0 / 327.8 MB, free: 12.64 MB / 298.7 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.0004303/0.005023, allocations: 377.6 kB / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.00506, allocations: 15.98 kB / 328.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.005098, allocations: 42.73 kB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.00521, allocations: 24.84 kB / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.005465, allocations: 194 kB / 328.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.005479, allocations: 8.562 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.005494, allocations: 12.12 kB / 328.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.005894, allocations: 305.9 kB / 328.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.005902, allocations: 0 / 328.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.005915, allocations: 4 kB / 328.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.00592, allocations: 0 / 328.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.006044, allocations: 83.75 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.006433, allocations: 378.6 kB / 329.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.006708, allocations: 209 kB / 329.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.006819, allocations: 104.2 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.006837, allocations: 0 / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.006859, allocations: 42.56 kB / 329.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 9.32e-07/0.00686, allocations: 4 kB / 329.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003516/0.007211, allocations: 217.2 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.00729, allocations: 195.9 kB / 329.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.007414, allocations: 187 kB / 330.1 MB, free: 10 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.007427, allocations: 30.08 kB / 330.1 MB, free: 9.969 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.007477, allocations: 112.1 kB / 330.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.007491, allocations: 11.88 kB / 330.3 MB, free: 9.844 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.007521, allocations: 17.72 kB / 330.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.121e-05/0.007602, allocations: 322.8 kB / 330.6 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.007623, allocations: 4 kB / 330.6 MB, free: 9.492 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.007664, allocations: 56.27 kB / 330.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/0.00771, allocations: 33.7 kB / 330.7 MB, free: 9.383 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.007713, allocations: 0 / 330.7 MB, free: 9.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.59e-05/0.007789, allocations: 69.67 kB / 330.7 MB, free: 9.309 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.007801, allocations: 10.95 kB / 330.8 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.007806, allocations: 0 / 330.8 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.007818, allocations: 3.938 kB / 330.8 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.073e-05/0.007859, allocations: 4 kB / 330.8 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.007864, allocations: 4 kB / 330.8 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.00789, allocations: 384 / 330.8 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.007897, allocations: 7.984 kB / 330.8 MB, free: 9.281 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.78e-05/0.007975, allocations: 129.8 kB / 330.9 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.008138, allocations: 141.4 kB / 331 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.008172, allocations: 29.45 kB / 331.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.008176, allocations: 3.938 kB / 331.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.008181, allocations: 4 kB / 331.1 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.008185, allocations: 0 / 331.1 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.00836, allocations: 168.7 kB / 331.2 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008362, allocations: 0 / 331.2 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.00843, allocations: 39.94 kB / 331.3 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.008433, allocations: 11.94 kB / 331.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.008443, allocations: 4 kB / 331.3 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.008446, allocations: 7.938 kB / 331.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008447, allocations: 0 / 331.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.008676, allocations: 357.4 kB / 331.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.008725, allocations: 39.81 kB / 331.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.008741, allocations: 4 kB / 331.7 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.008817, allocations: 19.92 kB / 331.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.008843, allocations: 4 kB / 331.7 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.008848, allocations: 4 kB / 331.7 MB, free: 8.254 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.966e-05/0.008918, allocations: 136.4 kB / 331.9 MB, free: 8.121 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008918, allocations: 0 / 331.9 MB, free: 8.121 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.009107, allocations: 16 kB / 331.9 MB, free: 8.105 MB / 298.7 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0004035/0.00951, allocations: 0.8781 MB / 332.8 MB, free: 7.191 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.009651, allocations: 71.89 kB / 332.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009652, allocations: 0 / 332.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.405e-05/0.009677, allocations: 19.92 kB / 332.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.01009, allocations: 107.9 kB / 332.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.01168, allocations: 1.829 MB / 334.8 MB, free: 5.055 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.208e-05/0.01177, allocations: 114.7 kB / 334.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.198e-05/0.01181, allocations: 17.14 kB / 334.9 MB, free: 4.906 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.01186, allocations: 36.48 kB / 334.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01186, allocations: 0 / 334.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.02951, allocations: 4.052 MB / 339 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.569/6.598, allocations: 0 / 339 MB, free: 0.9297 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98486e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! Error: Could not read variable hold1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable hold1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.375512935221195]