Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001659/0.001659, allocations: 106.3 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002442/0.002442, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.5 kB / 306.3 MB, free: 1.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1089, allocations: 50.54 MB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003302/0.1122, allocations: 1.924 MB / 358.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1136, allocations: 0.678 MB / 359.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.1138, allocations: 7.938 kB / 359.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.114, allocations: 15.86 kB / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.1141, allocations: 15.86 kB / 359.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.1146, allocations: 111.7 kB / 359.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1148, allocations: 139.5 kB / 359.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.115, allocations: 57.7 kB / 359.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.1151, allocations: 51.72 kB / 359.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.1153, allocations: 51.7 kB / 359.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.1153, allocations: 8 kB / 359.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.237e-05/0.1154, allocations: 12 kB / 359.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-05/0.1154, allocations: 15.92 kB / 359.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.1155, allocations: 67.53 kB / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1157, allocations: 135.5 kB / 360.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1157, allocations: 0 / 360.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1157, allocations: 0 / 360.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.1158, allocations: 0 / 360.1 MB, free: 11.23 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.0006643/0.1164, allocations: 465.7 kB / 360.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1165, allocations: 8.031 kB / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.1167, allocations: 28.73 kB / 360.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.117, allocations: 232 kB / 360.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.117, allocations: 12.12 kB / 360.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.1171, allocations: 12 kB / 360.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.1177, allocations: 282.4 kB / 361.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1177, allocations: 0 / 361.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.1177, allocations: 4 kB / 361.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1177, allocations: 7.938 kB / 361.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.1179, allocations: 75.88 kB / 361.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.1185, allocations: 431.3 kB / 361.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.119, allocations: 302.1 kB / 361.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.1192, allocations: 104.3 kB / 362 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.1193, allocations: 4 kB / 362 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.1193, allocations: 50.48 kB / 362 MB, free: 8.988 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.1193, allocations: 0 / 362 MB, free: 8.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005994/0.1199, allocations: 213.2 kB / 362.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.12, allocations: 196.2 kB / 362.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.1202, allocations: 186.3 kB / 362.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1203, allocations: 25.7 kB / 362.7 MB, free: 8.312 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.1204, allocations: 100.1 kB / 362.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.1204, allocations: 15.89 kB / 362.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/0.1205, allocations: 33.7 kB / 362.8 MB, free: 8.156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1206, allocations: 322.8 kB / 363.1 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.9e-05/0.1207, allocations: 27.98 kB / 363.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.1209, allocations: 133.2 kB / 363.3 MB, free: 7.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.1211, allocations: 157.6 kB / 363.4 MB, free: 7.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1211, allocations: 0 / 363.4 MB, free: 7.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002841/0.1214, allocations: 165.6 kB / 363.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1214, allocations: 16.03 kB / 363.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1214, allocations: 4 kB / 363.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.1215, allocations: 4 kB / 363.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1216, allocations: 27.98 kB / 363.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.1216, allocations: 8.312 kB / 363.6 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.1217, allocations: 23.83 kB / 363.7 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.1218, allocations: 8 kB / 363.7 MB, free: 7.164 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001111/0.1219, allocations: 141.7 kB / 363.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.1222, allocations: 149.3 kB / 364 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.1222, allocations: 21.41 kB / 364 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1222, allocations: 0 / 364 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1223, allocations: 8 kB / 364 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.1223, allocations: 3.984 kB / 364 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.1226, allocations: 217.5 kB / 364.2 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.1226, allocations: 0 / 364.2 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.1227, allocations: 43.84 kB / 364.2 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.1227, allocations: 11.97 kB / 364.3 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1228, allocations: 4 kB / 364.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1228, allocations: 4 kB / 364.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1228, allocations: 0 / 364.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.1232, allocations: 357 kB / 364.6 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-05/0.1233, allocations: 108.8 kB / 364.7 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.1233, allocations: 15.92 kB / 364.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1235, allocations: 4 kB / 364.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.1236, allocations: 7.984 kB / 364.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.1236, allocations: 8.234 kB / 364.8 MB, free: 5.973 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1237, allocations: 132.4 kB / 364.9 MB, free: 5.844 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1237, allocations: 4 kB / 364.9 MB, free: 5.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000331/0.124, allocations: 24 kB / 364.9 MB, free: 5.816 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001188/0.1242, allocations: 99.19 kB / 365 MB, free: 5.711 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.1245, allocations: 108.7 kB / 365.1 MB, free: 5.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1245, allocations: 4.062 kB / 365.1 MB, free: 5.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.992e-05/0.1245, allocations: 15.98 kB / 365.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/0.1252, allocations: 104.2 kB / 365.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008355/0.1261, allocations: 413.3 kB / 365.6 MB, free: 5.039 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.1264, allocations: 0.7205 MB / 366.4 MB, free: 4.293 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.92e-05/0.1264, allocations: 21.48 kB / 366.4 MB, free: 4.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.1265, allocations: 15.44 kB / 366.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1265, allocations: 4 kB / 366.4 MB, free: 4.258 MB / 302.1 MB Notification: Performance of Templates: time 0.004461/0.131, allocations: 1.563 MB / 368 MB, free: 2.719 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches