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.0008969/0.0008972, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002797, allocations: 8.281 kB / 307.8 MB, free: 0.6992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09804, allocations: 51.52 MB / 359.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.001891/0.09996, allocations: 1.574 MB / 360.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1011, allocations: 0.6586 MB / 361.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.1013, allocations: 7.938 kB / 361.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.1014, allocations: 11.86 kB / 361.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.1015, allocations: 27.84 kB / 361.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.1019, allocations: 107.2 kB / 361.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.102, allocations: 131.6 kB / 361.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1022, allocations: 65.69 kB / 361.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.1023, allocations: 47.72 kB / 362 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.545e-05/0.1024, allocations: 39.66 kB / 362 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1024, allocations: 4 kB / 362 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.815e-05/0.1025, allocations: 11.94 kB / 362 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.398e-05/0.1025, allocations: 23.91 kB / 362.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.1026, allocations: 77.2 kB / 362.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1027, allocations: 139.7 kB / 362.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.1027, allocations: 0 / 362.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1028, allocations: 4 kB / 362.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1028, allocations: 0 / 362.3 MB, free: 10.24 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.0004844/0.1033, allocations: 427 kB / 362.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1033, allocations: 12.03 kB / 362.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.1034, allocations: 46.73 kB / 362.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.1035, allocations: 36.64 kB / 362.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1037, allocations: 240 kB / 363 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1038, allocations: 7.938 kB / 363 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.1038, allocations: 8 kB / 363 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.1043, allocations: 295.9 kB / 363.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1044, allocations: 8 kB / 363.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1044, allocations: 3.938 kB / 363.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1044, allocations: 4 kB / 363.3 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.1046, allocations: 87.88 kB / 363.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.105, allocations: 435.3 kB / 363.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.1055, allocations: 310.1 kB / 364.2 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.1057, allocations: 116.4 kB / 364.3 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1057, allocations: 7.938 kB / 364.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.1057, allocations: 34.56 kB / 364.3 MB, free: 7.934 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.1057, allocations: 0 / 364.3 MB, free: 7.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005232/0.1063, allocations: 241.2 kB / 364.5 MB, free: 7.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/0.1064, allocations: 195.9 kB / 364.7 MB, free: 7.457 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.1065, allocations: 190.6 kB / 364.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1065, allocations: 29.7 kB / 364.9 MB, free: 7.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.1066, allocations: 100.4 kB / 365 MB, free: 7.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.1066, allocations: 23.83 kB / 365.1 MB, free: 7.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.1067, allocations: 21.7 kB / 365.1 MB, free: 7.066 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.1068, allocations: 326.8 kB / 365.4 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.639e-05/0.1068, allocations: 27.98 kB / 365.4 MB, free: 6.711 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.107, allocations: 143.4 kB / 365.6 MB, free: 6.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.1072, allocations: 170.4 kB / 365.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1072, allocations: 0 / 365.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002688/0.1075, allocations: 181.2 kB / 365.9 MB, free: 6.113 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1075, allocations: 8 kB / 365.9 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1075, allocations: 4 kB / 365.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1075, allocations: 4.188 kB / 365.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1076, allocations: 47.91 kB / 366 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1077, allocations: 7.938 kB / 366 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.387e-05/0.1077, allocations: 12.41 kB / 366 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.1078, allocations: 15.98 kB / 366 MB, free: 6.016 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.0001062/0.1079, allocations: 141.6 kB / 366.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/0.1082, allocations: 157.2 kB / 366.3 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.1082, allocations: 21.39 kB / 366.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1082, allocations: 8.031 kB / 366.3 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1082, allocations: 7.938 kB / 366.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1082, allocations: 0 / 366.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.1085, allocations: 221.6 kB / 366.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1085, allocations: 0 / 366.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.1086, allocations: 39.92 kB / 366.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1087, allocations: 4 kB / 366.6 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1087, allocations: 3.984 kB / 366.6 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.1087, allocations: 4 kB / 366.6 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1087, allocations: 7.938 kB / 366.6 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.1091, allocations: 375.8 kB / 367 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.952e-05/0.1092, allocations: 108.8 kB / 367.1 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1092, allocations: 8 kB / 367.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1094, allocations: 11.98 kB / 367.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.1094, allocations: 7.938 kB / 367.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.1094, allocations: 15.98 kB / 367.1 MB, free: 4.789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.564e-05/0.1095, allocations: 132.4 kB / 367.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1095, allocations: 0 / 367.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.1098, allocations: 20 kB / 367.3 MB, free: 4.641 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.0007942/0.1106, allocations: 0.9756 MB / 368.3 MB, free: 3.629 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.1109, allocations: 128.7 kB / 368.4 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1109, allocations: 4 kB / 368.4 MB, free: 3.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.58e-05/0.111, allocations: 19.92 kB / 368.4 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.1116, allocations: 110.8 kB / 368.5 MB, free: 3.375 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.113, allocations: 0.9936 MB / 369.5 MB, free: 2.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1133, allocations: 0.7321 MB / 370.2 MB, free: 1.504 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.282e-05/0.1134, allocations: 17.73 kB / 370.3 MB, free: 1.488 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.1134, allocations: 51.41 kB / 370.3 MB, free: 1.441 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1135, allocations: 0 / 370.3 MB, free: 1.441 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1619/0.2754, allocations: 3.09 MB / 373.4 MB, free: 17.99 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.2756, allocations: 227.2 kB / 373.6 MB, free: 17.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.069, allocations: 0 / 373.6 MB, free: 17.73 MB / 302.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.0.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