Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",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.001176/0.001176, allocations: 90.72 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.001383/0.001383, allocations: 177 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.607/1.607, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003823, allocations: 8 kB / 301.5 MB, free: 6.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1672, allocations: 50.41 MB / 351.9 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002936/0.1703, allocations: 1.553 MB / 353.5 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1715, allocations: 0.5963 MB / 354.1 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.1717, allocations: 11.88 kB / 354.1 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.1719, allocations: 15.86 kB / 354.1 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.1721, allocations: 23.86 kB / 354.1 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.1726, allocations: 86.97 kB / 354.2 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.1728, allocations: 127.6 kB / 354.4 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.1731, allocations: 57.7 kB / 354.4 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.1733, allocations: 43.73 kB / 354.5 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1734, allocations: 43.64 kB / 354.5 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.1735, allocations: 4 kB / 354.5 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.506e-05/0.1735, allocations: 4 kB / 354.5 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.218e-05/0.1736, allocations: 19.86 kB / 354.5 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.503e-05/0.1737, allocations: 77.31 kB / 354.6 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.1739, allocations: 131.4 kB / 354.7 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.1739, allocations: 4 kB / 354.7 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.1739, allocations: 4 kB / 354.7 MB, free: 0.793 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1739, allocations: 0 / 354.7 MB, free: 0.793 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.0009258/0.1749, allocations: 423.3 kB / 355.2 MB, free: 340 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.144e-05/0.175, allocations: 8.031 kB / 355.2 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.952e-05/0.175, allocations: 46.73 kB / 355.2 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/0.1751, allocations: 16.75 kB / 355.2 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.1755, allocations: 245.8 kB / 355.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1755, allocations: 7.938 kB / 355.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.1756, allocations: 12 kB / 355.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007345/0.1763, allocations: 294.2 kB / 355.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1763, allocations: 3.828 kB / 355.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.1764, allocations: 4 kB / 355.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.1764, allocations: 8 kB / 355.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.1766, allocations: 87.83 kB / 355.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.1773, allocations: 423.4 kB / 356.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/0.1778, allocations: 310.2 kB / 356.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.178, allocations: 116.2 kB / 356.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.1781, allocations: 4 kB / 356.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.1781, allocations: 58.42 kB / 356.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.754e-06/0.1782, allocations: 0 / 356.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006713/0.1788, allocations: 229.7 kB / 357 MB, free: 14.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.179, allocations: 195.9 kB / 357.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1792, allocations: 183.1 kB / 357.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1792, allocations: 29.98 kB / 357.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.1793, allocations: 104.1 kB / 357.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.1794, allocations: 11.89 kB / 357.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.1794, allocations: 17.72 kB / 357.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1796, allocations: 326.8 kB / 357.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.929e-05/0.1797, allocations: 23.98 kB / 357.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.1798, allocations: 134.5 kB / 358 MB, free: 13.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.1801, allocations: 165.6 kB / 358.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1801, allocations: 4 kB / 358.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002862/0.1804, allocations: 157.6 kB / 358.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.1804, allocations: 19.95 kB / 358.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.1804, allocations: 4 kB / 358.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.389e-05/0.1805, allocations: 4 kB / 358.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1806, allocations: 39.92 kB / 358.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1807, allocations: 7.938 kB / 358.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.961e-05/0.1808, allocations: 15.84 kB / 358.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.1808, allocations: 12 kB / 358.4 MB, free: 12.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001643/0.181, allocations: 141.7 kB / 358.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/0.1813, allocations: 145.3 kB / 358.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.367e-05/0.1814, allocations: 29.39 kB / 358.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1814, allocations: 0 / 358.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.1814, allocations: 4 kB / 358.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1814, allocations: 3.938 kB / 358.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.1817, allocations: 225.5 kB / 358.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1817, allocations: 0 / 358.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.1819, allocations: 39.92 kB / 359 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1819, allocations: 3.938 kB / 359 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.1819, allocations: 11.98 kB / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1819, allocations: 0 / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.182, allocations: 4 kB / 359 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.1824, allocations: 365.1 kB / 359.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.1826, allocations: 116.9 kB / 359.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.1826, allocations: 7.938 kB / 359.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1828, allocations: 15.98 kB / 359.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.1828, allocations: 4 kB / 359.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1828, allocations: 4 kB / 359.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.183, allocations: 137.2 kB / 359.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.183, allocations: 0 / 359.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003242/0.1833, allocations: 24 kB / 359.7 MB, free: 11.29 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0009131/0.1842, allocations: 0.9078 MB / 360.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003628/0.1846, allocations: 119.8 kB / 360.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1846, allocations: 0 / 360.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.751e-05/0.1847, allocations: 17 kB / 360.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008465/0.1855, allocations: 112.4 kB / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.1887, allocations: 2.145 MB / 363 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.1891, allocations: 0.7241 MB / 363.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.823e-05/0.1892, allocations: 17.55 kB / 363.7 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/0.1894, allocations: 39.42 kB / 363.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1894, allocations: 4 kB / 363.7 MB, free: 6.953 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.2068, allocations: 3.013 MB / 366.8 MB, free: 4.133 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000302/0.2072, allocations: 224.6 kB / 367 MB, free: 3.875 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/2.382, allocations: 3.625 kB / 367 MB, free: 3.875 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches