Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001191/0.001191, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 64.08 kB / 307.1 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1017, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003724/0.1054, allocations: 1.916 MB / 359.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.1078, allocations: 1.222 MB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.108, allocations: 0 / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.1087, allocations: 155.5 kB / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.1091, allocations: 159.4 kB / 361 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.1097, allocations: 174.8 kB / 361.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.11, allocations: 195.5 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.1101, allocations: 33.66 kB / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.1103, allocations: 87.62 kB / 361.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.1104, allocations: 75.64 kB / 361.6 MB, free: 10 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.1105, allocations: 15.98 kB / 361.6 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.1107, allocations: 47.98 kB / 361.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.181e-05/0.1108, allocations: 43.84 kB / 361.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1109, allocations: 83.41 kB / 361.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.1113, allocations: 211.6 kB / 362 MB, free: 9.605 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1113, allocations: 0 / 362 MB, free: 9.605 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1113, allocations: 0 / 362 MB, free: 9.605 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1113, allocations: 0 / 362 MB, free: 9.605 MB / 302.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.0009184/0.1122, allocations: 0.5196 MB / 362.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.1123, allocations: 8.031 kB / 362.5 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.1123, allocations: 42.73 kB / 362.5 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.1124, allocations: 24.66 kB / 362.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.1128, allocations: 266.7 kB / 362.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1128, allocations: 12.31 kB / 362.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.1128, allocations: 7.938 kB / 362.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.1132, allocations: 163.6 kB / 363 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1132, allocations: 3.938 kB / 363 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1132, allocations: 0 / 363 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1132, allocations: 4 kB / 363 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1133, allocations: 35.97 kB / 363.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.1139, allocations: 462.5 kB / 363.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.1142, allocations: 134.5 kB / 363.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.276e-05/0.1143, allocations: 55.42 kB / 363.7 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.1143, allocations: 7.938 kB / 363.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.1145, allocations: 100.9 kB / 363.8 MB, free: 7.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.1145, allocations: 0 / 363.8 MB, free: 7.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003839/0.1149, allocations: 153.4 kB / 363.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.115, allocations: 170.5 kB / 364.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.1154, allocations: 276.9 kB / 364.4 MB, free: 6.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1154, allocations: 25.7 kB / 364.4 MB, free: 6.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.1155, allocations: 124.3 kB / 364.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1155, allocations: 15.8 kB / 364.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.771e-05/0.1156, allocations: 33.72 kB / 364.6 MB, free: 6.672 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1157, allocations: 330.8 kB / 364.9 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.1158, allocations: 23.98 kB / 364.9 MB, free: 6.316 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1159, allocations: 74.86 kB / 365 MB, free: 6.219 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.1161, allocations: 97.05 kB / 365.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1161, allocations: 0 / 365.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000245/0.1163, allocations: 129.3 kB / 365.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1164, allocations: 6.969 kB / 365.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1164, allocations: 4 kB / 365.2 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1164, allocations: 4.156 kB / 365.2 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.1165, allocations: 15.98 kB / 365.3 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1165, allocations: 0 / 365.3 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.232e-05/0.1166, allocations: 19.88 kB / 365.3 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1166, allocations: 4 kB / 365.3 MB, free: 5.922 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.0001386/0.1168, allocations: 150.8 kB / 365.4 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1169, allocations: 77.34 kB / 365.5 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/0.1169, allocations: 25.77 kB / 365.5 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1169, allocations: 0 / 365.5 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1169, allocations: 4.312 kB / 365.5 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.117, allocations: 3.938 kB / 365.5 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.1172, allocations: 233.6 kB / 365.8 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.1172, allocations: 4 kB / 365.8 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/0.1172, allocations: 7.984 kB / 365.8 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1173, allocations: 7.938 kB / 365.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1173, allocations: 4 kB / 365.8 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.1173, allocations: 4 kB / 365.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1173, allocations: 3.938 kB / 365.8 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.1176, allocations: 175.3 kB / 366 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-05/0.1177, allocations: 112.8 kB / 366.1 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.1177, allocations: 0 / 366.1 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.1178, allocations: 11.98 kB / 366.1 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.1179, allocations: 11.94 kB / 366.1 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1179, allocations: 4 kB / 366.1 MB, free: 4.988 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002162/0.1181, allocations: 204.5 kB / 366.3 MB, free: 4.789 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1181, allocations: 0 / 366.3 MB, free: 4.789 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1184, allocations: 35.98 kB / 366.3 MB, free: 4.754 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.001484/0.1199, allocations: 1.01 MB / 367.3 MB, free: 3.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1201, allocations: 83.78 kB / 367.4 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.1201, allocations: 320 / 367.4 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.1202, allocations: 27.98 kB / 367.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.1206, allocations: 77.78 kB / 367.5 MB, free: 3.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.1229, allocations: 2.025 MB / 369.6 MB, free: 1.504 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1232, allocations: 0.7319 MB / 370.3 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.395e-05/0.1233, allocations: 21.53 kB / 370.3 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.51e-05/0.1234, allocations: 59.41 kB / 370.4 MB, free: 0.668 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1234, allocations: 0 / 370.4 MB, free: 0.668 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1671/0.2904, allocations: 4.696 MB / 375.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/7.834, allocations: 8.578 kB / 375.1 MB, free: 19.09 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches