Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 120.8 kB / 17.74 MB, free: 5.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 186.9 kB / 20.68 MB, free: 2.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 246.4 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 43.92 kB / 357.5 MB, free: 8.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.09858, allocations: 49.44 MB / 406.9 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003559/0.1022, allocations: 1.888 MB / 408.8 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.1042, allocations: 1.157 MB / 410 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.1044, allocations: 3.938 kB / 410 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.1047, allocations: 63.67 kB / 410 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.105, allocations: 91.66 kB / 410.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007611/0.1058, allocations: 266.5 kB / 410.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.1061, allocations: 175.5 kB / 410.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1062, allocations: 33.81 kB / 410.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1063, allocations: 75.69 kB / 410.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1064, allocations: 91.55 kB / 410.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.1065, allocations: 8 kB / 410.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.1066, allocations: 67.95 kB / 410.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.758e-05/0.1067, allocations: 51.83 kB / 410.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1068, allocations: 87.36 kB / 411 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.1072, allocations: 247 kB / 411.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1072, allocations: 0 / 411.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1072, allocations: 0 / 411.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1072, allocations: 0 / 411.2 MB, free: 3.047 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007696/0.108, allocations: 0.5425 MB / 411.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1081, allocations: 12.03 kB / 411.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.795e-05/0.1081, allocations: 38.73 kB / 411.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.1082, allocations: 32.75 kB / 411.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.1086, allocations: 283.8 kB / 412.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1086, allocations: 8.375 kB / 412.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.1086, allocations: 11.94 kB / 412.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.109, allocations: 183 kB / 412.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.109, allocations: 0 / 412.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1091, allocations: 0 / 412.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1091, allocations: 4 kB / 412.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.1092, allocations: 47.91 kB / 412.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.1098, allocations: 466.6 kB / 412.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.1101, allocations: 146.5 kB / 413 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.1102, allocations: 55.42 kB / 413 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1103, allocations: 8 kB / 413 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.1105, allocations: 93.03 kB / 413.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.1105, allocations: 0 / 413.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004398/0.1109, allocations: 177.7 kB / 413.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.1111, allocations: 187.9 kB / 413.5 MB, free: 492 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.1114, allocations: 334.6 kB / 413.8 MB, free: 148 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1115, allocations: 29.7 kB / 413.8 MB, free: 112 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1116, allocations: 124.6 kB / 413.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1116, allocations: 27.73 kB / 414 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/0.1117, allocations: 37.66 kB / 414 MB, free: 15.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1119, allocations: 334.9 kB / 414.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.112, allocations: 31.98 kB / 414.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1121, allocations: 98.64 kB / 414.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.1123, allocations: 93.08 kB / 414.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1123, allocations: 3.938 kB / 414.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000273/0.1126, allocations: 141.6 kB / 414.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1126, allocations: 12.16 kB / 414.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1126, allocations: 4.062 kB / 414.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1127, allocations: 0 / 414.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1128, allocations: 27.92 kB / 414.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1128, allocations: 3.984 kB / 414.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.1129, allocations: 11.88 kB / 414.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1129, allocations: 8 kB / 414.8 MB, free: 15.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001582/0.1131, allocations: 158.3 kB / 414.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.1132, allocations: 81.48 kB / 415 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.1132, allocations: 25.75 kB / 415 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1133, allocations: 7.984 kB / 415 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1133, allocations: 0 / 415 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1133, allocations: 3.938 kB / 415 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.1135, allocations: 245.5 kB / 415.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1135, allocations: 0 / 415.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.551e-05/0.1136, allocations: 15.98 kB / 415.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1136, allocations: 0 / 415.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.1137, allocations: 4 kB / 415.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/0.1137, allocations: 11.98 kB / 415.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1137, allocations: 4 kB / 415.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.114, allocations: 183.4 kB / 415.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1141, allocations: 109 kB / 415.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.1142, allocations: 15.98 kB / 415.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.1142, allocations: 4 kB / 415.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.1143, allocations: 19.86 kB / 415.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.1143, allocations: 4 kB / 415.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000262/0.1146, allocations: 241.9 kB / 415.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1146, allocations: 0 / 415.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1149, allocations: 39.92 kB / 415.9 MB, free: 13.83 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002059/0.1169, allocations: 1.041 MB / 416.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.1172, allocations: 80.09 kB / 417 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.1172, allocations: 4 kB / 417 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.1173, allocations: 39.91 kB / 417.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.1178, allocations: 69.34 kB / 417.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.1208, allocations: 2.263 MB / 419.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.1213, allocations: 0.7437 MB / 420.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.1214, allocations: 25.55 kB / 420.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.1215, allocations: 59.41 kB / 420.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1215, allocations: 3.938 kB / 420.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.1507, allocations: 5.398 MB / 425.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.483/8.634, allocations: 6.359 kB / 425.6 MB, free: 4.215 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98963e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.400643444969319]