Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.001125/0.001125, allocations: 91.2 kB / 16.65 MB, free: 6.598 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.001548/0.001548, allocations: 179.9 kB / 17.56 MB, free: 6.199 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.652/1.652, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003921, allocations: 8 kB / 301.5 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1463, allocations: 50.41 MB / 351.9 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.00288/0.1492, allocations: 1.315 MB / 353.3 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1505, allocations: 498.8 kB / 353.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.1507, allocations: 7.938 kB / 353.8 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.172e-05/0.1508, allocations: 3.984 kB / 353.8 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.151, allocations: 7.922 kB / 353.8 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.1515, allocations: 55.77 kB / 353.8 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1517, allocations: 47.8 kB / 353.9 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.1519, allocations: 19.98 kB / 353.9 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.152, allocations: 27.86 kB / 353.9 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.962e-05/0.1521, allocations: 19.86 kB / 353.9 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.1522, allocations: 4 kB / 353.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.1522, allocations: 0 / 353.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.1523, allocations: 11.92 kB / 353.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.1523, allocations: 53.52 kB / 354 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1525, allocations: 59.72 kB / 354.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1525, allocations: 0 / 354.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1525, allocations: 0 / 354.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1525, allocations: 0 / 354.1 MB, free: 1.465 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006534/0.1532, allocations: 367.5 kB / 354.4 MB, free: 1.059 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.1533, allocations: 15.97 kB / 354.4 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.82e-05/0.1533, allocations: 38.73 kB / 354.5 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.1534, allocations: 8.844 kB / 354.5 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.1537, allocations: 204.6 kB / 354.7 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1537, allocations: 8.375 kB / 354.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.1537, allocations: 11.94 kB / 354.7 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.1542, allocations: 130.7 kB / 354.8 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1542, allocations: 4 kB / 354.8 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1542, allocations: 0 / 354.8 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1542, allocations: 7.938 kB / 354.8 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.1543, allocations: 31.91 kB / 354.9 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.1549, allocations: 287.4 kB / 355.1 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.155, allocations: 94.42 kB / 355.2 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.015e-05/0.1551, allocations: 55.42 kB / 355.3 MB, free: 0 / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.709e-05/0.1552, allocations: 4.047 kB / 355.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.1552, allocations: 34.56 kB / 355.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1553, allocations: 0 / 355.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003929/0.1557, allocations: 109.4 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1558, allocations: 132.5 kB / 355.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.156, allocations: 149.2 kB / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.156, allocations: 33.7 kB / 355.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.1561, allocations: 88.12 kB / 355.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1561, allocations: 7.906 kB / 355.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.1562, allocations: 13.72 kB / 355.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1563, allocations: 322.8 kB / 356.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.1564, allocations: 11.94 kB / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.1565, allocations: 48.28 kB / 356.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.1566, allocations: 64.22 kB / 356.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1566, allocations: 0 / 356.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001989/0.1568, allocations: 89.45 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1568, allocations: 4 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.1569, allocations: 4 kB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1569, allocations: 0 / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.157, allocations: 24.14 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.157, allocations: 3.938 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.1571, allocations: 4 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.1571, allocations: 4.125 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001351/0.1573, allocations: 125.7 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.1574, allocations: 61.55 kB / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.1574, allocations: 19.86 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1574, allocations: 64 / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.1575, allocations: 7.938 kB / 356.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1575, allocations: 4 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.1577, allocations: 173.6 kB / 356.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1577, allocations: 0 / 356.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.1578, allocations: 15.98 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.1578, allocations: 0 / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1578, allocations: 7.938 kB / 356.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1578, allocations: 3.984 kB / 356.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.1578, allocations: 3.938 kB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.1581, allocations: 198 kB / 357 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.1582, allocations: 100.9 kB / 357.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.1583, allocations: 0 / 357.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.1583, allocations: 11.98 kB / 357.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.1584, allocations: 7.875 kB / 357.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.1584, allocations: 4 kB / 357.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.572e-05/0.1585, allocations: 116.9 kB / 357.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1585, allocations: 0 / 357.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1588, allocations: 4 kB / 357.3 MB, free: 13.8 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006179/0.1594, allocations: 0.7266 MB / 358 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1596, allocations: 59.78 kB / 358.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1596, allocations: 4 kB / 358.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.081e-05/0.1597, allocations: 12 kB / 358.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.1602, allocations: 24.02 kB / 358.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.1622, allocations: 1.51 MB / 359.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.1627, allocations: 0.6965 MB / 360.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.298e-05/0.1627, allocations: 0 / 360.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.1628, allocations: 23.42 kB / 360.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1628, allocations: 0 / 360.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.1774, allocations: 1.591 MB / 361.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/0.1777, allocations: 221.7 kB / 362.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/2.321, allocations: 0 / 362.1 MB, free: 8.828 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches