Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001499/0.001499, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001394, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 55.5 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1048, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002756/0.1076, allocations: 1.472 MB / 360.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002129/0.1078, allocations: 39.84 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.71e-05/0.1079, allocations: 0 / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.108, allocations: 3.938 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.631e-05/0.108, allocations: 3.938 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1083, allocations: 27.95 kB / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.1084, allocations: 35.92 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.1086, allocations: 19.97 kB / 360.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.366e-05/0.1086, allocations: 11.94 kB / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.235e-05/0.1087, allocations: 15.92 kB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.1087, allocations: 4 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.1087, allocations: 4 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.1087, allocations: 11.92 kB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.1088, allocations: 15.94 kB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.1089, allocations: 47.8 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1089, allocations: 0 / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1089, allocations: 0 / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1089, allocations: 4 kB / 360.6 MB, free: 11.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004939/0.1094, allocations: 359.3 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1095, allocations: 8.031 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.1095, allocations: 4.938 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.1097, allocations: 180.2 kB / 361.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1098, allocations: 384 / 361.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.1098, allocations: 8.375 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.1103, allocations: 159.8 kB / 361.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1103, allocations: 192 / 361.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1104, allocations: 3.938 kB / 361.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1104, allocations: 0 / 361.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.1106, allocations: 51.88 kB / 361.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.1107, allocations: 161.7 kB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.111, allocations: 78.52 kB / 361.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.1112, allocations: 44.89 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.1112, allocations: 0 / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1112, allocations: 38.5 kB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1112, allocations: 0 / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004343/0.1117, allocations: 117.5 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.1117, allocations: 55.53 kB / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.1118, allocations: 117.8 kB / 362 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.1118, allocations: 25.7 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.1119, allocations: 88.14 kB / 362.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.1119, allocations: 7.891 kB / 362.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.1119, allocations: 17.72 kB / 362.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.112, allocations: 314.8 kB / 362.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.112, allocations: 4 kB / 362.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.891e-05/0.1121, allocations: 31.42 kB / 362.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/0.1121, allocations: 43.38 kB / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1121, allocations: 0 / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.649e-05/0.1122, allocations: 57.56 kB / 362.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1122, allocations: 8 kB / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1122, allocations: 12.17 kB / 362.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1123, allocations: 4 kB / 362.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.1123, allocations: 8 kB / 362.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.1123, allocations: 4 kB / 362.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.1124, allocations: 0 / 362.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.1124, allocations: 0 / 362.6 MB, free: 9.414 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.921e-05/0.1125, allocations: 121.8 kB / 362.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.1128, allocations: 89.48 kB / 362.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.1128, allocations: 15.84 kB / 362.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1128, allocations: 4 kB / 362.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1128, allocations: 0 / 362.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1128, allocations: 3.984 kB / 362.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.922e-05/0.1129, allocations: 157.7 kB / 363 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1129, allocations: 0 / 363 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.429e-05/0.113, allocations: 15.98 kB / 363 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.113, allocations: 0 / 363 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.113, allocations: 7.938 kB / 363 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1131, allocations: 0 / 363 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1131, allocations: 3.938 kB / 363 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.1133, allocations: 117 kB / 363.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.1134, allocations: 81.02 kB / 363.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1134, allocations: 11.94 kB / 363.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.1135, allocations: 7.984 kB / 363.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-06/0.1135, allocations: 0 / 363.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1135, allocations: 0 / 363.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.31e-05/0.1136, allocations: 91.27 kB / 363.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1136, allocations: 3.938 kB / 363.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001857/0.1138, allocations: 8 kB / 363.3 MB, free: 8.578 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001012/0.1139, allocations: 99.19 kB / 363.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1141, allocations: 47.89 kB / 363.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1141, allocations: 0 / 363.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.1141, allocations: 0 / 363.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1144, allocations: 39.23 kB / 363.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.1148, allocations: 139.3 kB / 363.6 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.1151, allocations: 0.6846 MB / 364.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.571e-05/0.1151, allocations: 0 / 364.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.1151, allocations: 11.44 kB / 364.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1151, allocations: 0 / 364.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of Templates: time 0.002755/0.1179, allocations: 0.5272 MB / 364.8 MB, free: 6.988 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches