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.001346/0.001346, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001564, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.001441, allocations: 64.78 kB / 306.4 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09929/0.1008, allocations: 50.54 MB / 356.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003986/0.1048, allocations: 1.928 MB / 358.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.1065, allocations: 0.6741 MB / 359.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.1068, allocations: 7.938 kB / 359.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.107, allocations: 11.86 kB / 359.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1072, allocations: 23.84 kB / 359.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.1076, allocations: 103.6 kB / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1078, allocations: 135.5 kB / 359.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.1079, allocations: 57.72 kB / 359.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.1081, allocations: 59.7 kB / 359.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.598e-05/0.1082, allocations: 47.66 kB / 359.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1082, allocations: 4 kB / 359.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.451e-05/0.1083, allocations: 12 kB / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.1084, allocations: 31.89 kB / 360 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.336e-05/0.1084, allocations: 55.55 kB / 360 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.1087, allocations: 139.8 kB / 360.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1087, allocations: 0 / 360.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1087, allocations: 0 / 360.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1087, allocations: 0 / 360.2 MB, free: 11.13 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.0008479/0.1095, allocations: 462.8 kB / 360.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.1096, allocations: 8.031 kB / 360.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.078e-05/0.1097, allocations: 42.73 kB / 360.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.1099, allocations: 24.73 kB / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1103, allocations: 244 kB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.1103, allocations: 11.94 kB / 360.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.1103, allocations: 8 kB / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000641/0.111, allocations: 288.1 kB / 361.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.111, allocations: 4 kB / 361.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.111, allocations: 8 kB / 361.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.111, allocations: 0 / 361.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.1113, allocations: 71.88 kB / 361.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.1119, allocations: 435.4 kB / 361.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.1124, allocations: 298 kB / 362 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.1126, allocations: 108.4 kB / 362.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1127, allocations: 8 kB / 362.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.1127, allocations: 42.5 kB / 362.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.1127, allocations: 0 / 362.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006018/0.1133, allocations: 225.5 kB / 362.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.1134, allocations: 191.9 kB / 362.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1136, allocations: 187.1 kB / 362.8 MB, free: 8.184 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1136, allocations: 29.7 kB / 362.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.1137, allocations: 100.5 kB / 362.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.1137, allocations: 19.83 kB / 362.9 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.1138, allocations: 37.7 kB / 363 MB, free: 7.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.1139, allocations: 326.9 kB / 363.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.86e-05/0.114, allocations: 27.92 kB / 363.3 MB, free: 7.625 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1141, allocations: 142.4 kB / 363.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.1143, allocations: 174.4 kB / 363.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1143, allocations: 0 / 363.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002709/0.1146, allocations: 165.2 kB / 363.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1146, allocations: 11.98 kB / 363.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1146, allocations: 4 kB / 363.8 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1146, allocations: 4 kB / 363.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1148, allocations: 35.92 kB / 363.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.1148, allocations: 16.41 kB / 363.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.833e-05/0.1149, allocations: 15.91 kB / 363.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1149, allocations: 11.98 kB / 363.9 MB, free: 6.945 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.0001094/0.115, allocations: 141.7 kB / 364 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/0.1153, allocations: 145.7 kB / 364.2 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.1154, allocations: 29.39 kB / 364.2 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1154, allocations: 0 / 364.2 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.1154, allocations: 8.172 kB / 364.2 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1154, allocations: 4.031 kB / 364.2 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.1157, allocations: 221.5 kB / 364.4 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.1157, allocations: 3.984 kB / 364.4 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.1159, allocations: 47.91 kB / 364.5 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.1159, allocations: 0 / 364.5 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1159, allocations: 7.938 kB / 364.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1159, allocations: 0 / 364.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1159, allocations: 7.938 kB / 364.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.1163, allocations: 357.1 kB / 364.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.1164, allocations: 116.8 kB / 364.9 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.1165, allocations: 8 kB / 364.9 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.1166, allocations: 8 kB / 365 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.1167, allocations: 15.86 kB / 365 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.1167, allocations: 8 kB / 365 MB, free: 5.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1168, allocations: 132.4 kB / 365.1 MB, free: 5.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1168, allocations: 0 / 365.1 MB, free: 5.602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.1172, allocations: 24 kB / 365.1 MB, free: 5.578 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.000831/0.118, allocations: 0.9546 MB / 366.1 MB, free: 4.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.1183, allocations: 123.8 kB / 366.2 MB, free: 4.469 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1183, allocations: 0 / 366.2 MB, free: 4.469 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.883e-05/0.1184, allocations: 8 kB / 366.2 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/0.1191, allocations: 113 kB / 366.3 MB, free: 4.352 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1206, allocations: 0.9815 MB / 367.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.1208, allocations: 0.7244 MB / 368 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.021e-05/0.1209, allocations: 17.55 kB / 368 MB, free: 2.484 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.121, allocations: 43.42 kB / 368.1 MB, free: 2.445 MB / 302.1 MB Notification: Performance of SimCode: time 2.164e-06/0.121, allocations: 0 / 368.1 MB, free: 2.445 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1561/0.2771, allocations: 3.189 MB / 371.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/0.2774, allocations: 228.2 kB / 371.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.203, allocations: 0 / 371.5 MB, free: 19.46 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