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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 247.1 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 61.88 kB / 307.1 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09816/0.1001, allocations: 50.54 MB / 357.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003596/0.1037, allocations: 1.925 MB / 359.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.105, allocations: 0.6741 MB / 360.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1052, allocations: 11.94 kB / 360.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.1054, allocations: 15.86 kB / 360.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.1055, allocations: 23.84 kB / 360.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.1059, allocations: 95.78 kB / 360.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1061, allocations: 139.6 kB / 360.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1063, allocations: 57.72 kB / 360.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1065, allocations: 75.64 kB / 360.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.1066, allocations: 51.66 kB / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.1066, allocations: 12 kB / 360.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.978e-05/0.1066, allocations: 12 kB / 360.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.1067, allocations: 31.89 kB / 360.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.308e-05/0.1068, allocations: 75.48 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.107, allocations: 95.83 kB / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.107, allocations: 0 / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.107, allocations: 0 / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.107, allocations: 4 kB / 361 MB, free: 11.09 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.0006454/0.1077, allocations: 459 kB / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1077, allocations: 12.03 kB / 361.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.1079, allocations: 20.75 kB / 361.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1082, allocations: 244 kB / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1082, allocations: 12.12 kB / 361.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.1083, allocations: 12 kB / 361.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.1089, allocations: 287.5 kB / 362 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1089, allocations: 0 / 362 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.1089, allocations: 4 kB / 362 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1089, allocations: 4 kB / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.1091, allocations: 71.83 kB / 362.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.1097, allocations: 431.4 kB / 362.5 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.1102, allocations: 294 kB / 362.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.1104, allocations: 112.4 kB / 362.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1104, allocations: 4 kB / 362.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.1105, allocations: 42.5 kB / 362.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.1105, allocations: 0 / 362.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005676/0.1111, allocations: 225.1 kB / 363.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.1112, allocations: 195.9 kB / 363.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1114, allocations: 182.2 kB / 363.5 MB, free: 8.203 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.1114, allocations: 30.08 kB / 363.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.1115, allocations: 108.5 kB / 363.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.1116, allocations: 19.77 kB / 363.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.1116, allocations: 37.7 kB / 363.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1118, allocations: 322.8 kB / 364 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.275e-05/0.1119, allocations: 27.98 kB / 364.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.112, allocations: 141.7 kB / 364.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.1123, allocations: 170.4 kB / 364.4 MB, free: 7.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1123, allocations: 4 kB / 364.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002943/0.1126, allocations: 173.1 kB / 364.5 MB, free: 7.051 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1126, allocations: 8.531 kB / 364.5 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1126, allocations: 8 kB / 364.5 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1127, allocations: 4 kB / 364.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1128, allocations: 43.91 kB / 364.6 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1128, allocations: 4 kB / 364.6 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.1129, allocations: 15.84 kB / 364.6 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.113, allocations: 12 kB / 364.6 MB, free: 6.957 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.0001279/0.1131, allocations: 137.7 kB / 364.8 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/0.1134, allocations: 149.3 kB / 364.9 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.1135, allocations: 25.39 kB / 364.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1135, allocations: 4 kB / 364.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1135, allocations: 4 kB / 364.9 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1135, allocations: 3.938 kB / 364.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.1138, allocations: 221.7 kB / 365.2 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1139, allocations: 0 / 365.2 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.114, allocations: 35.92 kB / 365.2 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.114, allocations: 4 kB / 365.2 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.114, allocations: 7.969 kB / 365.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1141, allocations: 8.031 kB / 365.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1141, allocations: 0 / 365.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.1145, allocations: 364.9 kB / 365.6 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.1146, allocations: 112.8 kB / 365.7 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.1147, allocations: 8 kB / 365.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1148, allocations: 7.984 kB / 365.7 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.1149, allocations: 7.938 kB / 365.7 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1149, allocations: 11.98 kB / 365.7 MB, free: 5.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.115, allocations: 140.2 kB / 365.9 MB, free: 5.621 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.115, allocations: 0 / 365.9 MB, free: 5.621 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.1154, allocations: 24 kB / 365.9 MB, free: 5.598 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.0001353/0.1155, allocations: 107.2 kB / 366 MB, free: 5.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.1159, allocations: 124.7 kB / 366.1 MB, free: 5.363 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1159, allocations: 0 / 366.1 MB, free: 5.363 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.1159, allocations: 16.12 kB / 366.1 MB, free: 5.348 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007059/0.1166, allocations: 107.4 kB / 366.2 MB, free: 5.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007074/0.1173, allocations: 408.9 kB / 366.6 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.1178, allocations: 0.7318 MB / 367.4 MB, free: 4.047 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.1178, allocations: 23.44 kB / 367.4 MB, free: 4.027 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1178, allocations: 0 / 367.4 MB, free: 4.027 MB / 302.1 MB Notification: Performance of Templates: time 0.003935/0.1218, allocations: 1.827 MB / 369.2 MB, free: 2.207 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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