Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00158/0.00158, allocations: 106.8 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001924/0.001925, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.31 kB / 306.4 MB, free: 0.8672 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08484/0.08605, allocations: 50.54 MB / 356.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003053/0.08913, allocations: 1.924 MB / 358.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.09038, allocations: 0.6741 MB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.09056, allocations: 7.938 kB / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.09072, allocations: 15.86 kB / 359.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.09084, allocations: 19.84 kB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.09121, allocations: 107.3 kB / 359.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.09138, allocations: 135.5 kB / 359.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.09153, allocations: 61.7 kB / 359.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.09168, allocations: 59.7 kB / 359.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.482e-05/0.09177, allocations: 47.72 kB / 359.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.0918, allocations: 4 kB / 359.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.818e-05/0.09186, allocations: 8 kB / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.09191, allocations: 27.86 kB / 360 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.09198, allocations: 59.53 kB / 360 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.09215, allocations: 135.8 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.09216, allocations: 4 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09217, allocations: 0 / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.09218, allocations: 0 / 360.2 MB, free: 11.03 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006006/0.09278, allocations: 462.8 kB / 360.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.09283, allocations: 12.03 kB / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.09288, allocations: 42.73 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.09304, allocations: 20.75 kB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.09332, allocations: 243.9 kB / 360.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.09335, allocations: 11.94 kB / 360.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.09337, allocations: 15.94 kB / 361 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.09388, allocations: 271 kB / 361.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.09391, allocations: 4 kB / 361.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.09392, allocations: 0 / 361.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.09394, allocations: 4 kB / 361.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.09414, allocations: 83.75 kB / 361.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.09462, allocations: 427.5 kB / 361.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.09508, allocations: 298.1 kB / 362 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.09528, allocations: 116.2 kB / 362.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.09531, allocations: 4 kB / 362.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.09535, allocations: 42.5 kB / 362.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.09535, allocations: 0 / 362.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005504/0.09591, allocations: 217.6 kB / 362.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.09603, allocations: 195.9 kB / 362.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.0962, allocations: 179.2 kB / 362.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.09623, allocations: 29.7 kB / 362.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.0963, allocations: 100.1 kB / 362.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.09633, allocations: 15.89 kB / 362.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.09638, allocations: 37.7 kB / 362.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.09649, allocations: 326.9 kB / 363.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.868e-05/0.09657, allocations: 23.98 kB / 363.3 MB, free: 7.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.0967, allocations: 133.3 kB / 363.4 MB, free: 7.371 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.09689, allocations: 157.5 kB / 363.6 MB, free: 7.168 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.0969, allocations: 4 kB / 363.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000274/0.09718, allocations: 161.4 kB / 363.7 MB, free: 7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.09721, allocations: 11.94 kB / 363.7 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.09722, allocations: 8 kB / 363.7 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.09724, allocations: 4 kB / 363.7 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.09737, allocations: 32.3 kB / 363.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.09739, allocations: 8 kB / 363.8 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.743e-05/0.09749, allocations: 19.83 kB / 363.8 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.09751, allocations: 8.312 kB / 363.8 MB, free: 6.91 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.0001111/0.09763, allocations: 149.6 kB / 364 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.0979, allocations: 145.3 kB / 364.1 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.09795, allocations: 25.33 kB / 364.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.09796, allocations: 4 kB / 364.1 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.09797, allocations: 0 / 364.1 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.09798, allocations: 0 / 364.1 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.09823, allocations: 217.5 kB / 364.3 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.09824, allocations: 8.031 kB / 364.4 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.09838, allocations: 35.97 kB / 364.4 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.09839, allocations: 7.938 kB / 364.4 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.09841, allocations: 4 kB / 364.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.09841, allocations: 3.938 kB / 364.4 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.09842, allocations: 0 / 364.4 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.09878, allocations: 357.1 kB / 364.8 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.667e-05/0.09886, allocations: 112.8 kB / 364.9 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.09889, allocations: 4 kB / 364.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.09904, allocations: 15.98 kB / 364.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.09907, allocations: 3.938 kB / 364.9 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.09909, allocations: 11.98 kB / 364.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.56e-05/0.09919, allocations: 132.4 kB / 365 MB, free: 5.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09919, allocations: 0 / 365 MB, free: 5.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.09951, allocations: 20 kB / 365 MB, free: 5.57 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.0006133/0.1001, allocations: 0.8961 MB / 365.9 MB, free: 4.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.1004, allocations: 112.3 kB / 366.1 MB, free: 4.531 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1004, allocations: 0 / 366.1 MB, free: 4.531 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.357e-05/0.1005, allocations: 11.98 kB / 366.1 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006517/0.1011, allocations: 104.6 kB / 366.2 MB, free: 4.418 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.1033, allocations: 2.119 MB / 368.3 MB, free: 2.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1036, allocations: 0.7205 MB / 369 MB, free: 1.352 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.678e-05/0.1037, allocations: 21.53 kB / 369 MB, free: 1.328 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.1037, allocations: 43.42 kB / 369.1 MB, free: 1.285 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1037, allocations: 0 / 369.1 MB, free: 1.285 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1754/0.2792, allocations: 3.118 MB / 372.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/0.2794, allocations: 226.8 kB / 372.4 MB, free: 19.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.192, allocations: 1.75 kB / 372.4 MB, free: 19.43 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches