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.000839/0.000839, 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.0008708/0.0008708, 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.9092/0.9092, 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.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 2.033e-06/2.033e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.718e-05, allocations: 2.984 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002773/0.0028, allocations: 1.852 MB / 326.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.00377, allocations: 0.6467 MB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.003882, allocations: 11.88 kB / 327 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.004014, allocations: 27.73 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.004134, allocations: 31.78 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.004493, allocations: 114.4 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.004652, allocations: 151.5 kB / 327.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.004782, allocations: 37.95 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.004951, allocations: 87.73 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.477e-05/0.005026, allocations: 31.84 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.005048, allocations: 12 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.601e-05/0.005094, allocations: 19.98 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.005154, allocations: 23.86 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.005189, allocations: 43.91 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.005381, allocations: 151.4 kB / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005384, allocations: 0 / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005385, allocations: 0 / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.00539, allocations: 0 / 327.8 MB, free: 12.63 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.0004914/0.005882, allocations: 381.6 kB / 328.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.005922, allocations: 11.98 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.00596, allocations: 42.73 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/0.00631, allocations: 24.83 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.006585, allocations: 202 kB / 328.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.006599, allocations: 8.562 kB / 328.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.006613, allocations: 12.12 kB / 328.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.007012, allocations: 310.7 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.00702, allocations: 3.938 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.007032, allocations: 4 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.007039, allocations: 7.938 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.007161, allocations: 71.89 kB / 328.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.007519, allocations: 374.6 kB / 329.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.007794, allocations: 217 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.007901, allocations: 100.3 kB / 329.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.007923, allocations: 7.938 kB / 329.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.007945, allocations: 42.55 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.007946, allocations: 0 / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003302/0.008276, allocations: 221.3 kB / 329.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.008357, allocations: 195.9 kB / 329.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.008474, allocations: 187 kB / 330.1 MB, free: 9.973 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.008488, allocations: 29.7 kB / 330.2 MB, free: 9.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.008537, allocations: 104.5 kB / 330.3 MB, free: 9.828 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.008552, allocations: 11.88 kB / 330.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.008583, allocations: 22.05 kB / 330.3 MB, free: 9.789 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.008659, allocations: 330.8 kB / 330.6 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/0.008688, allocations: 11.98 kB / 330.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-05/0.008738, allocations: 65.12 kB / 330.7 MB, free: 9.363 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.342e-05/0.008791, allocations: 42.5 kB / 330.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.008792, allocations: 0 / 330.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.389e-05/0.008876, allocations: 81.61 kB / 330.8 MB, free: 9.227 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.008888, allocations: 4 kB / 330.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.008892, allocations: 0 / 330.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.008904, allocations: 7.984 kB / 330.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.35e-05/0.008948, allocations: 4 kB / 330.8 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.008952, allocations: 4 kB / 330.8 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.823e-05/0.008991, allocations: 4 kB / 330.8 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.008998, allocations: 3.984 kB / 330.8 MB, free: 9.199 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.011e-05/0.009078, allocations: 129.7 kB / 331 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.009231, allocations: 153.5 kB / 331.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.009265, allocations: 25.45 kB / 331.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.009268, allocations: 0 / 331.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.009272, allocations: 4.328 kB / 331.1 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.009276, allocations: 0 / 331.1 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.009449, allocations: 180.6 kB / 331.3 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.009451, allocations: 4 kB / 331.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.866e-05/0.00952, allocations: 39.97 kB / 331.4 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.009523, allocations: 3.984 kB / 331.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.009532, allocations: 8.031 kB / 331.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.009533, allocations: 3.938 kB / 331.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.676e-06/0.009536, allocations: 7.938 kB / 331.4 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.009766, allocations: 364.5 kB / 331.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.009814, allocations: 27.89 kB / 331.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.009835, allocations: 11.98 kB / 331.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.009905, allocations: 8 kB / 331.8 MB, free: 8.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.009938, allocations: 11.98 kB / 331.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.009944, allocations: 4 kB / 331.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.958e-05/0.01001, allocations: 136.4 kB / 331.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01001, allocations: 0 / 331.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001846/0.0102, allocations: 23.88 kB / 332 MB, free: 8 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: 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.000504/0.0107, allocations: 0.9522 MB / 332.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.01084, allocations: 75.95 kB / 333 MB, free: 6.934 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01085, allocations: 4 kB / 333 MB, free: 6.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.959e-05/0.01087, allocations: 4 kB / 333 MB, free: 6.926 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.01129, allocations: 112.5 kB / 333.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.01246, allocations: 1.757 MB / 334.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.624e-05/0.01255, allocations: 115.4 kB / 335 MB, free: 4.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.19e-05/0.01259, allocations: 13.14 kB / 335 MB, free: 4.793 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.01265, allocations: 44.48 kB / 335 MB, free: 4.746 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01265, allocations: 0 / 335 MB, free: 4.746 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.03035, allocations: 4.162 MB / 339.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.493/6.523, allocations: 0 / 339.2 MB, free: 0.6953 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/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: 8.304804938845336]