Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",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.001144/0.001144, allocations: 92.16 kB / 16.65 MB, free: 6.586 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.001282/0.001282, allocations: 183.8 kB / 17.56 MB, free: 6.203 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.638/1.638, allocations: 223.3 MB / 241.6 MB, free: 188 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003403, allocations: 8 kB / 301.5 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1467, allocations: 50.42 MB / 352 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.00311/0.1499, allocations: 1.553 MB / 353.5 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1515, allocations: 0.6041 MB / 354.1 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.1518, allocations: 7.938 kB / 354.1 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.152, allocations: 11.86 kB / 354.1 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1522, allocations: 23.84 kB / 354.2 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.1527, allocations: 87.61 kB / 354.2 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.153, allocations: 131.5 kB / 354.4 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.1532, allocations: 57.72 kB / 354.4 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.1534, allocations: 47.7 kB / 354.5 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.1535, allocations: 35.73 kB / 354.5 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.1535, allocations: 0 / 354.5 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.839e-05/0.1536, allocations: 4 kB / 354.5 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.516e-05/0.1537, allocations: 27.86 kB / 354.5 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.572e-05/0.1538, allocations: 81.3 kB / 354.6 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.154, allocations: 123.5 kB / 354.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.154, allocations: 0 / 354.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.154, allocations: 3.938 kB / 354.7 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.154, allocations: 0 / 354.7 MB, free: 0.7812 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008033/0.1548, allocations: 431.3 kB / 355.2 MB, free: 320 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.569e-05/0.1549, allocations: 16.02 kB / 355.2 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.226e-05/0.155, allocations: 38.69 kB / 355.2 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.1551, allocations: 20.75 kB / 355.2 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.1555, allocations: 233.8 kB / 355.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.1555, allocations: 11.94 kB / 355.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1555, allocations: 8 kB / 355.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000784/0.1563, allocations: 307 kB / 355.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.1563, allocations: 0 / 355.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.1564, allocations: 8 kB / 355.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1564, allocations: 0 / 355.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.1567, allocations: 87.88 kB / 355.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007942/0.1575, allocations: 435.3 kB / 356.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.1581, allocations: 306.1 kB / 356.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.1583, allocations: 120.3 kB / 356.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.1584, allocations: 4 kB / 356.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.563e-05/0.1585, allocations: 42.48 kB / 356.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 2.204e-06/0.1585, allocations: 0 / 356.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007475/0.1592, allocations: 237.2 kB / 357 MB, free: 14.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/0.1594, allocations: 196.5 kB / 357.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.1597, allocations: 187.1 kB / 357.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.1597, allocations: 25.7 kB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.1598, allocations: 100.5 kB / 357.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.1599, allocations: 23.77 kB / 357.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.16, allocations: 21.7 kB / 357.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1602, allocations: 322.8 kB / 357.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.353e-05/0.1603, allocations: 31.98 kB / 357.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.1605, allocations: 143.4 kB / 358 MB, free: 13.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.1607, allocations: 170.4 kB / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1608, allocations: 0 / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003591/0.1611, allocations: 185 kB / 358.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.1612, allocations: 8 kB / 358.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.1612, allocations: 4 kB / 358.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.283e-05/0.1613, allocations: 7.984 kB / 358.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.1614, allocations: 44.5 kB / 358.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.1615, allocations: 15.88 kB / 358.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.1616, allocations: 11.91 kB / 358.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.1616, allocations: 12 kB / 358.5 MB, free: 12.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001818/0.1618, allocations: 141.7 kB / 358.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/0.1622, allocations: 153.3 kB / 358.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.303e-05/0.1623, allocations: 21.39 kB / 358.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1623, allocations: 4 kB / 358.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.1623, allocations: 3.938 kB / 358.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1623, allocations: 4 kB / 358.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.1627, allocations: 221.5 kB / 359 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.1627, allocations: 0 / 359 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.1629, allocations: 39.92 kB / 359 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.1629, allocations: 4.031 kB / 359.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1629, allocations: 4 kB / 359.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.1629, allocations: 7.984 kB / 359.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.163, allocations: 7.938 kB / 359.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.1635, allocations: 371.4 kB / 359.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.1636, allocations: 112.8 kB / 359.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.1637, allocations: 8 kB / 359.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.1638, allocations: 15.98 kB / 359.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.1639, allocations: 7.938 kB / 359.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1639, allocations: 8 kB / 359.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.164, allocations: 137.1 kB / 359.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.164, allocations: 0 / 359.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003476/0.1644, allocations: 24 kB / 359.7 MB, free: 11.19 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001009/0.1654, allocations: 0.9756 MB / 360.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003213/0.1657, allocations: 124.1 kB / 360.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1658, allocations: 0 / 360.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/0.1658, allocations: 15.98 kB / 360.9 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.0007507/0.1666, allocations: 113.5 kB / 361 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.1686, allocations: 0.9884 MB / 362 MB, free: 8.828 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.169, allocations: 0.728 MB / 362.7 MB, free: 8.074 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.107e-05/0.1691, allocations: 17.72 kB / 362.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.1692, allocations: 39.42 kB / 362.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of SimCode: time 1.884e-06/0.1693, allocations: 0 / 362.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.1883, allocations: 3.082 MB / 365.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003395/0.1887, allocations: 224.6 kB / 366 MB, free: 4.879 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/2.426, allocations: 4.062 kB / 366 MB, free: 4.875 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches