Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 110.2 kB / 16.92 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001919, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 39.81 kB / 300.7 MB, free: 5.797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.1006, allocations: 49.44 MB / 350.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003536/0.1042, allocations: 1.884 MB / 352.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1061, allocations: 1.068 MB / 353.1 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1062, allocations: 3.938 kB / 353.1 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.1069, allocations: 154.7 kB / 353.3 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.1072, allocations: 115.5 kB / 353.4 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005511/0.1077, allocations: 210.4 kB / 353.6 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.108, allocations: 191.5 kB / 353.8 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1081, allocations: 33.48 kB / 353.8 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1082, allocations: 75.64 kB / 353.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1084, allocations: 67.7 kB / 354 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.1084, allocations: 12 kB / 354 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1085, allocations: 59.95 kB / 354 MB, free: 468 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.775e-05/0.1086, allocations: 43.84 kB / 354.1 MB, free: 424 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.462e-05/0.1087, allocations: 75.41 kB / 354.1 MB, free: 348 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.109, allocations: 207.6 kB / 354.3 MB, free: 140 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.109, allocations: 0 / 354.3 MB, free: 140 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.109, allocations: 0 / 354.3 MB, free: 140 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.109, allocations: 0 / 354.3 MB, free: 140 kB / 286.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.0008661/0.1099, allocations: 0.5118 MB / 354.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.11, allocations: 8.031 kB / 354.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.527e-05/0.11, allocations: 42.75 kB / 354.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.1101, allocations: 36.52 kB / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.1104, allocations: 262.8 kB / 355.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1105, allocations: 8.375 kB / 355.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1105, allocations: 7.938 kB / 355.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.1109, allocations: 171.1 kB / 355.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1109, allocations: 3.938 kB / 355.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1109, allocations: 4 kB / 355.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1109, allocations: 0 / 355.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.111, allocations: 35.98 kB / 355.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.1116, allocations: 454.4 kB / 355.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.1119, allocations: 134.5 kB / 356 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.112, allocations: 59.41 kB / 356.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.112, allocations: 4 kB / 356.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.1122, allocations: 105.1 kB / 356.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.1122, allocations: 0 / 356.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003828/0.1126, allocations: 149.4 kB / 356.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.527e-05/0.1127, allocations: 166.2 kB / 356.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.113, allocations: 269.3 kB / 356.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.113, allocations: 29.7 kB / 356.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1131, allocations: 120.3 kB / 356.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.1131, allocations: 19.8 kB / 356.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.1132, allocations: 33.7 kB / 356.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1133, allocations: 326.8 kB / 357.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.281e-05/0.1134, allocations: 23.98 kB / 357.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.733e-05/0.1135, allocations: 82.8 kB / 357.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1137, allocations: 93.05 kB / 357.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1137, allocations: 4 kB / 357.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002239/0.1139, allocations: 121.4 kB / 357.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1139, allocations: 4 kB / 357.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1139, allocations: 0 / 357.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1139, allocations: 4 kB / 357.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.114, allocations: 16.3 kB / 357.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.114, allocations: 160 / 357.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.1141, allocations: 23.78 kB / 357.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1142, allocations: 8 kB / 357.6 MB, free: 12.48 MB / 302.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.0001243/0.1143, allocations: 150.3 kB / 357.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.1144, allocations: 69.44 kB / 357.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/0.1144, allocations: 25.7 kB / 357.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1144, allocations: 4 kB / 357.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1145, allocations: 0 / 357.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1145, allocations: 8 kB / 357.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.1147, allocations: 229.5 kB / 358.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1147, allocations: 3.938 kB / 358.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.1147, allocations: 8 kB / 358.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1147, allocations: 0 / 358.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.1147, allocations: 8 kB / 358.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1148, allocations: 3.984 kB / 358.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1148, allocations: 0 / 358.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.115, allocations: 171.3 kB / 358.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.261e-05/0.1151, allocations: 120.7 kB / 358.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.1152, allocations: 0 / 358.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.1152, allocations: 4 kB / 358.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.1153, allocations: 15.92 kB / 358.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1153, allocations: 4 kB / 358.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.1155, allocations: 200.5 kB / 358.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1155, allocations: 0 / 358.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1158, allocations: 28 kB / 358.7 MB, free: 11.33 MB / 302.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.001461/0.1172, allocations: 1.021 MB / 359.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.1175, allocations: 87.78 kB / 359.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1175, allocations: 0 / 359.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.1176, allocations: 28 kB / 359.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.1181, allocations: 78.78 kB / 359.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.1203, allocations: 1.992 MB / 361.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1206, allocations: 0.7319 MB / 362.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.823e-05/0.1207, allocations: 25.52 kB / 362.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.1208, allocations: 51.42 kB / 362.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1208, allocations: 0 / 362.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.1461, allocations: 4.647 MB / 367.3 MB, free: 2.754 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/7.649, allocations: 0 / 367.3 MB, free: 2.754 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches