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.001838/0.001838, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.002137/0.002137, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.402/1.402, allocations: 230.4 MB / 254 MB, free: 15.18 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.001823/0.001823, allocations: 63.91 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09707/0.0989, allocations: 53.37 MB / 426.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003524/0.1024, allocations: 1.879 MB / 428.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1037, allocations: 0.6974 MB / 428.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1038, allocations: 11.88 kB / 429 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.1039, allocations: 15.8 kB / 429 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.104, allocations: 35.66 kB / 429 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.1044, allocations: 110.1 kB / 429.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.1046, allocations: 143.5 kB / 429.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.1047, allocations: 49.7 kB / 429.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1049, allocations: 63.7 kB / 429.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.907e-05/0.105, allocations: 51.72 kB / 429.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.105, allocations: 8 kB / 429.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.798e-05/0.105, allocations: 16 kB / 429.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.1051, allocations: 35.84 kB / 429.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.152e-05/0.1052, allocations: 63.59 kB / 429.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1054, allocations: 155.2 kB / 429.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1054, allocations: 0 / 429.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1054, allocations: 0 / 429.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1054, allocations: 0 / 429.7 MB, free: 1.305 MB / 350.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.0005977/0.106, allocations: 458.8 kB / 430.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.106, allocations: 8.031 kB / 430.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.1061, allocations: 42.73 kB / 430.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.1062, allocations: 24.83 kB / 430.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.1066, allocations: 264.1 kB / 430.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1066, allocations: 11.94 kB / 430.5 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.1066, allocations: 8 kB / 430.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.1072, allocations: 276.2 kB / 430.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1072, allocations: 0 / 430.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.1072, allocations: 8 kB / 430.8 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1072, allocations: 3.938 kB / 430.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.1074, allocations: 79.88 kB / 430.8 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.1079, allocations: 423.5 kB / 431.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.1084, allocations: 290 kB / 431.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1086, allocations: 104.3 kB / 431.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.1086, allocations: 8 kB / 431.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1086, allocations: 38.5 kB / 431.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.1086, allocations: 0 / 431.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005729/0.1092, allocations: 225.3 kB / 431.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.1093, allocations: 192.2 kB / 432.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1095, allocations: 190.2 kB / 432.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1095, allocations: 29.7 kB / 432.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.1096, allocations: 100.5 kB / 432.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1096, allocations: 15.94 kB / 432.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.1096, allocations: 41.66 kB / 432.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1098, allocations: 326.8 kB / 432.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.819e-05/0.1099, allocations: 23.98 kB / 432.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.11, allocations: 138.4 kB / 432.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.1102, allocations: 170.4 kB / 433.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1102, allocations: 0 / 433.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002897/0.1105, allocations: 185.6 kB / 433.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1105, allocations: 4 kB / 433.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1105, allocations: 4 kB / 433.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1106, allocations: 8 kB / 433.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1107, allocations: 39.91 kB / 433.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.1107, allocations: 7.938 kB / 433.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/0.1108, allocations: 23.89 kB / 433.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.1108, allocations: 8 kB / 433.4 MB, free: 13.13 MB / 366.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.0001194/0.1109, allocations: 141.9 kB / 433.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.1112, allocations: 145.6 kB / 433.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.201e-05/0.1113, allocations: 21.39 kB / 433.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1113, allocations: 4 kB / 433.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1113, allocations: 3.938 kB / 433.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1113, allocations: 4 kB / 433.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.1116, allocations: 225.5 kB / 433.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1116, allocations: 0 / 433.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.1117, allocations: 39.95 kB / 434 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1117, allocations: 7.984 kB / 434 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1117, allocations: 4 kB / 434 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1117, allocations: 4 kB / 434 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.1117, allocations: 3.938 kB / 434 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.1122, allocations: 367.5 kB / 434.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.413e-05/0.1123, allocations: 112.9 kB / 434.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.1123, allocations: 7.984 kB / 434.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.1124, allocations: 12 kB / 434.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.1125, allocations: 3.938 kB / 434.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1125, allocations: 11.98 kB / 434.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1126, allocations: 140.2 kB / 434.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1126, allocations: 0 / 434.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.1129, allocations: 27.95 kB / 434.6 MB, free: 11.75 MB / 366.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.0008769/0.1138, allocations: 0.9523 MB / 435.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.1141, allocations: 120.5 kB / 435.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1141, allocations: 0 / 435.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.519e-05/0.1141, allocations: 11.94 kB / 435.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/0.1148, allocations: 114.2 kB / 435.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.117, allocations: 2.085 MB / 437.9 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1173, allocations: 0.7241 MB / 438.6 MB, free: 7.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.542e-05/0.1174, allocations: 17.55 kB / 438.7 MB, free: 7.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.1174, allocations: 43.42 kB / 438.7 MB, free: 7.438 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1175, allocations: 0 / 438.7 MB, free: 7.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.1428, allocations: 3.525 MB / 442.2 MB, free: 4.062 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/7.921, allocations: 12.75 kB / 442.2 MB, free: 4.051 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.531164958956651]