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.001045/0.001045, allocations: 87.09 kB / 16.65 MB, free: 6.535 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.001249/0.001249, allocations: 176 kB / 17.56 MB, free: 6.18 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.605/1.605, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003895, allocations: 8 kB / 301.5 MB, free: 6.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 50.41 MB / 351.9 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003504/0.1556, allocations: 1.601 MB / 353.5 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.158, allocations: 1.025 MB / 354.6 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.1582, allocations: 7.938 kB / 354.6 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006667/0.1589, allocations: 131.7 kB / 354.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.1593, allocations: 111.6 kB / 354.8 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.16, allocations: 174.9 kB / 355 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.1604, allocations: 187.5 kB / 355.2 MB, free: 372 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.1605, allocations: 37.47 kB / 355.2 MB, free: 336 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.1607, allocations: 71.58 kB / 355.3 MB, free: 264 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.1609, allocations: 59.7 kB / 355.3 MB, free: 204 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.1609, allocations: 4 kB / 355.3 MB, free: 200 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.1611, allocations: 59.89 kB / 355.4 MB, free: 140 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.07e-05/0.1611, allocations: 31.84 kB / 355.4 MB, free: 108 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1613, allocations: 97.17 kB / 355.5 MB, free: 4 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1616, allocations: 187.6 kB / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1616, allocations: 0 / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1616, allocations: 3.938 kB / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.1617, allocations: 0 / 355.7 MB, free: 15.82 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.0008738/0.1625, allocations: 496.3 kB / 356.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1626, allocations: 12.03 kB / 356.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.474e-05/0.1627, allocations: 38.73 kB / 356.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.1627, allocations: 24.66 kB / 356.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.1631, allocations: 262.8 kB / 356.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.1631, allocations: 12.38 kB / 356.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1632, allocations: 11.88 kB / 356.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.1636, allocations: 171.6 kB / 356.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1636, allocations: 0 / 356.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1636, allocations: 0 / 356.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1636, allocations: 4 kB / 356.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1637, allocations: 43.91 kB / 356.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00061/0.1643, allocations: 450.4 kB / 357.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.1646, allocations: 134.5 kB / 357.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.948e-05/0.1647, allocations: 51.42 kB / 357.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.1648, allocations: 12 kB / 357.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.165, allocations: 93.09 kB / 357.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.914e-06/0.165, allocations: 0 / 357.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004092/0.1654, allocations: 157.6 kB / 357.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.1655, allocations: 162.2 kB / 357.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.1659, allocations: 264.9 kB / 358.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.1659, allocations: 29.7 kB / 358.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.166, allocations: 124.3 kB / 358.2 MB, free: 13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.1661, allocations: 15.81 kB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.1662, allocations: 21.7 kB / 358.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1663, allocations: 330.9 kB / 358.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.1664, allocations: 23.98 kB / 358.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.1665, allocations: 78.55 kB / 358.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.1667, allocations: 89.11 kB / 358.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1667, allocations: 4 kB / 358.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002835/0.167, allocations: 129.3 kB / 358.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.167, allocations: 12.09 kB / 358.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.167, allocations: 7.984 kB / 358.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1671, allocations: 0 / 358.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/0.1672, allocations: 19.92 kB / 358.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1672, allocations: 0 / 358.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.922e-05/0.1673, allocations: 23.78 kB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1673, allocations: 4 kB / 358.9 MB, free: 12.2 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.0001693/0.1675, allocations: 138.1 kB / 359.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.1676, allocations: 77.44 kB / 359.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.346e-05/0.1677, allocations: 21.7 kB / 359.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1677, allocations: 0 / 359.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.1677, allocations: 4 kB / 359.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.1677, allocations: 7.938 kB / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.168, allocations: 225.6 kB / 359.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.168, allocations: 4 kB / 359.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.082e-05/0.1681, allocations: 4 kB / 359.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.1681, allocations: 0 / 359.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1681, allocations: 7.938 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1681, allocations: 8.047 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1681, allocations: 4 kB / 359.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.1684, allocations: 175.2 kB / 359.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1686, allocations: 112.8 kB / 359.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.1686, allocations: 8 kB / 359.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.1687, allocations: 11.98 kB / 359.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.1688, allocations: 11.88 kB / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.1688, allocations: 4 kB / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.169, allocations: 196.5 kB / 359.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.169, allocations: 0 / 359.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.1693, allocations: 39.89 kB / 360 MB, free: 11.04 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.001693/0.171, allocations: 1.019 MB / 361 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1713, allocations: 71.91 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1713, allocations: 4 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.1714, allocations: 31.92 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.1718, allocations: 67.62 kB / 361.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.1742, allocations: 2.027 MB / 363.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1745, allocations: 0.7322 MB / 363.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.401e-05/0.1746, allocations: 29.52 kB / 364 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.1747, allocations: 51.42 kB / 364 MB, free: 6.973 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1747, allocations: 0 / 364 MB, free: 6.973 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.1898, allocations: 4.21 MB / 368.2 MB, free: 2.922 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.19, allocations: 256.5 kB / 368.5 MB, free: 2.664 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.369, allocations: 0 / 368.5 MB, free: 2.664 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 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.mat","/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