Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001757/0.001757, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002162/0.002162, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.88 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2917, allocations: 50.55 MB / 408.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003327/0.295, allocations: 1.861 MB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2964, allocations: 0.7012 MB / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.2965, allocations: 7.938 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.2967, allocations: 19.8 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.2968, allocations: 19.8 kB / 411.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.2972, allocations: 111.2 kB / 411.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.2974, allocations: 143.6 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.2976, allocations: 69.67 kB / 411.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.2978, allocations: 55.72 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.602e-05/0.2979, allocations: 63.58 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.2979, allocations: 8 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.55e-05/0.298, allocations: 24 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.298, allocations: 27.91 kB / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.255e-05/0.2981, allocations: 63.55 kB / 412 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.2983, allocations: 142.4 kB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2984, allocations: 0 / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2984, allocations: 0 / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2984, allocations: 0 / 412.1 MB, free: 14.12 MB / 334.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.0006403/0.299, allocations: 462.7 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2991, allocations: 12.03 kB / 412.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.2991, allocations: 46.73 kB / 412.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.2993, allocations: 28.83 kB / 412.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.2997, allocations: 249 kB / 412.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.2997, allocations: 11.94 kB / 412.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.2997, allocations: 11.94 kB / 412.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006236/0.3004, allocations: 289.6 kB / 413.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3004, allocations: 0 / 413.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3004, allocations: 0 / 413.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.3004, allocations: 4 kB / 413.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.3007, allocations: 75.88 kB / 413.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.3012, allocations: 423.5 kB / 413.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.3017, allocations: 310 kB / 414 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.3019, allocations: 108.3 kB / 414.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.302, allocations: 8 kB / 414.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.302, allocations: 38.5 kB / 414.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.302, allocations: 0 / 414.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005924/0.3026, allocations: 229.6 kB / 414.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.3028, allocations: 195.8 kB / 414.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.303, allocations: 186.2 kB / 414.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.303, allocations: 29.7 kB / 414.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.3031, allocations: 100.5 kB / 414.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.3031, allocations: 15.94 kB / 414.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.3032, allocations: 41.66 kB / 415 MB, free: 10.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3033, allocations: 330.9 kB / 415.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.3034, allocations: 23.98 kB / 415.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.3036, allocations: 135.4 kB / 415.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.3038, allocations: 166.4 kB / 415.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3038, allocations: 0 / 415.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000309/0.3041, allocations: 185.2 kB / 415.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3042, allocations: 7.938 kB / 415.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3042, allocations: 4 kB / 415.8 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.3042, allocations: 8 kB / 415.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.3043, allocations: 39.91 kB / 415.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.3044, allocations: 8.469 kB / 415.8 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3045, allocations: 23.89 kB / 415.9 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3045, allocations: 8 kB / 415.9 MB, free: 9.918 MB / 334.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.0001356/0.3046, allocations: 137.8 kB / 416 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.305, allocations: 137.9 kB / 416.1 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.305, allocations: 21.39 kB / 416.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.305, allocations: 4 kB / 416.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.305, allocations: 3.938 kB / 416.2 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.3051, allocations: 8.031 kB / 416.2 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.3054, allocations: 225.5 kB / 416.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3054, allocations: 4 kB / 416.4 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.3055, allocations: 35.92 kB / 416.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3055, allocations: 0 / 416.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.3056, allocations: 11.98 kB / 416.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.3056, allocations: 7.938 kB / 416.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.3056, allocations: 3.938 kB / 416.5 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.306, allocations: 369.1 kB / 416.8 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.736e-05/0.3062, allocations: 105 kB / 416.9 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.3062, allocations: 8 kB / 416.9 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.3064, allocations: 19.98 kB / 417 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.3064, allocations: 3.938 kB / 417 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3064, allocations: 11.98 kB / 417 MB, free: 8.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.3065, allocations: 128.4 kB / 417.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3065, allocations: 0 / 417.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003372/0.3069, allocations: 27.94 kB / 417.1 MB, free: 8.555 MB / 334.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.0009297/0.3078, allocations: 0.9552 MB / 418.1 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.3081, allocations: 126.2 kB / 418.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3081, allocations: 0 / 418.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.033e-05/0.3082, allocations: 17.05 kB / 418.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006474/0.3089, allocations: 103.9 kB / 418.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.3112, allocations: 2.082 MB / 420.4 MB, free: 5.047 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.3116, allocations: 0.7241 MB / 421.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.663e-05/0.3117, allocations: 17.55 kB / 421.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.3118, allocations: 43.42 kB / 421.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3118, allocations: 0 / 421.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.3372, allocations: 3.517 MB / 424.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.046/9.384, allocations: 8 kB / 424.7 MB, free: 0.8711 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches