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.001274/0.001274, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.9 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 60.05 kB / 306.9 MB, free: 1.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1066, allocations: 50.53 MB / 357.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003652/0.1103, allocations: 1.932 MB / 359.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1117, allocations: 0.6856 MB / 360 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.1119, allocations: 7.938 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.1122, allocations: 11.86 kB / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.1123, allocations: 23.84 kB / 360.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004484/0.1128, allocations: 103 kB / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.113, allocations: 139.5 kB / 360.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.1132, allocations: 57.7 kB / 360.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1133, allocations: 59.7 kB / 360.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.905e-05/0.1135, allocations: 43.72 kB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.1135, allocations: 4 kB / 360.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.994e-05/0.1136, allocations: 12 kB / 360.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.1136, allocations: 31.86 kB / 360.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.1137, allocations: 59.53 kB / 360.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1139, allocations: 99.81 kB / 360.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1139, allocations: 0 / 360.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1139, allocations: 0 / 360.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1139, allocations: 0 / 360.7 MB, free: 11.25 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.0006343/0.1145, allocations: 459.1 kB / 361.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.1146, allocations: 12.03 kB / 361.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.1148, allocations: 28.73 kB / 361.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.1151, allocations: 240.8 kB / 361.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.1151, allocations: 12.12 kB / 361.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.1152, allocations: 12 kB / 361.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.1157, allocations: 279.5 kB / 361.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1158, allocations: 0 / 361.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1158, allocations: 4 kB / 361.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1158, allocations: 4 kB / 361.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.116, allocations: 75.89 kB / 361.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.1165, allocations: 427.3 kB / 362.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.117, allocations: 298 kB / 362.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.1172, allocations: 108.4 kB / 362.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.1172, allocations: 11.98 kB / 362.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1172, allocations: 46.44 kB / 362.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.1173, allocations: 4 kB / 362.7 MB, free: 9.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005513/0.1178, allocations: 217.1 kB / 362.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.1179, allocations: 199.8 kB / 363.1 MB, free: 8.555 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1181, allocations: 186.6 kB / 363.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1181, allocations: 29.7 kB / 363.3 MB, free: 8.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.1182, allocations: 100.5 kB / 363.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.1183, allocations: 19.83 kB / 363.4 MB, free: 8.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/0.1183, allocations: 33.72 kB / 363.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1184, allocations: 330.8 kB / 363.8 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.972e-05/0.1185, allocations: 23.98 kB / 363.8 MB, free: 7.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.1187, allocations: 138 kB / 363.9 MB, free: 7.617 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.1189, allocations: 174.4 kB / 364.1 MB, free: 7.395 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1189, allocations: 4 kB / 364.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002847/0.1192, allocations: 177.6 kB / 364.3 MB, free: 7.211 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1192, allocations: 12.03 kB / 364.3 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.1192, allocations: 4 kB / 364.3 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1193, allocations: 7.938 kB / 364.3 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.1194, allocations: 35.92 kB / 364.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.1194, allocations: 7.984 kB / 364.3 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1195, allocations: 15.84 kB / 364.3 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.1196, allocations: 12 kB / 364.4 MB, free: 7.117 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.0001262/0.1197, allocations: 141.8 kB / 364.5 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.12, allocations: 149.4 kB / 364.6 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.12, allocations: 21.39 kB / 364.7 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.12, allocations: 4 kB / 364.7 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.1201, allocations: 4 kB / 364.7 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1201, allocations: 3.938 kB / 364.7 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.1204, allocations: 217.5 kB / 364.9 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1204, allocations: 0 / 364.9 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.1205, allocations: 39.91 kB / 364.9 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1205, allocations: 8.031 kB / 364.9 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1206, allocations: 4 kB / 364.9 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.1206, allocations: 4 kB / 364.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1206, allocations: 0 / 364.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.121, allocations: 371.8 kB / 365.3 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-05/0.1211, allocations: 112.8 kB / 365.4 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.1211, allocations: 4 kB / 365.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.1213, allocations: 15.98 kB / 365.4 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.1213, allocations: 7.938 kB / 365.4 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1213, allocations: 4 kB / 365.4 MB, free: 5.922 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1214, allocations: 136.4 kB / 365.6 MB, free: 5.789 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1215, allocations: 7.938 kB / 365.6 MB, free: 5.781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.1218, allocations: 20 kB / 365.6 MB, free: 5.762 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.0001158/0.1219, allocations: 103.2 kB / 365.7 MB, free: 5.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000288/0.1222, allocations: 116.7 kB / 365.8 MB, free: 5.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1222, allocations: 4.125 kB / 365.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.649e-05/0.1223, allocations: 11.98 kB / 365.8 MB, free: 5.523 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.123, allocations: 105.6 kB / 365.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006741/0.1237, allocations: 399.1 kB / 366.3 MB, free: 4.984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.124, allocations: 0.7283 MB / 367.1 MB, free: 4.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.124, allocations: 19.42 kB / 367.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.124, allocations: 0 / 367.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of Templates: time 0.003949/0.128, allocations: 1.84 MB / 368.9 MB, free: 2.387 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.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