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.0007946/0.0007948, allocations: 96.94 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009348/0.0009349, allocations: 208.1 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002429/0.0002429, allocations: 8 kB / 308.4 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09539/0.09566, allocations: 51.52 MB / 359.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001676/0.09738, allocations: 1.2 MB / 361.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001972/0.09761, allocations: 35.91 kB / 361.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.09769, allocations: 0 / 361.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.09772, allocations: 3.938 kB / 361.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.211e-05/0.09777, allocations: 0 / 361.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.09803, allocations: 27.97 kB / 361.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.991e-05/0.09812, allocations: 31.92 kB / 361.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.761e-05/0.09822, allocations: 8 kB / 361.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.738e-05/0.09829, allocations: 15.92 kB / 361.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.09833, allocations: 19.91 kB / 361.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.09836, allocations: 4 kB / 361.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.09837, allocations: 0 / 361.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.0984, allocations: 11.92 kB / 361.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.09845, allocations: 41.58 kB / 361.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.511e-05/0.09852, allocations: 19.95 kB / 361.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.09853, allocations: 0 / 361.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09854, allocations: 0 / 361.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.09855, allocations: 3.938 kB / 361.3 MB, free: 11.62 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.000552/0.0991, allocations: 355.6 kB / 361.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.09915, allocations: 12.03 kB / 361.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.09919, allocations: 4.844 kB / 361.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.09936, allocations: 184.3 kB / 361.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.09939, allocations: 384 / 361.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.09941, allocations: 8.375 kB / 361.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/0.09999, allocations: 163.7 kB / 362 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.1, allocations: 192 / 362 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1, allocations: 7.938 kB / 362.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1, allocations: 0 / 362.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.1003, allocations: 51.94 kB / 362.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.1004, allocations: 165.6 kB / 362.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.1008, allocations: 86.45 kB / 362.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.101, allocations: 44.88 kB / 362.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.101, allocations: 0 / 362.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.101, allocations: 42.56 kB / 362.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.101, allocations: 0 / 362.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004849/0.1015, allocations: 117.5 kB / 362.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.1016, allocations: 51.41 kB / 362.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.1017, allocations: 109.8 kB / 362.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1017, allocations: 29.64 kB / 362.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.1017, allocations: 88.12 kB / 362.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.1017, allocations: 0 / 362.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.1018, allocations: 21.66 kB / 362.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.1019, allocations: 314.8 kB / 363.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.1019, allocations: 4 kB / 363.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.979e-05/0.1019, allocations: 31.42 kB / 363.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.102, allocations: 39.38 kB / 363.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.102, allocations: 0 / 363.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.351e-05/0.1021, allocations: 65.53 kB / 363.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1021, allocations: 4 kB / 363.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1021, allocations: 3.938 kB / 363.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1021, allocations: 4 kB / 363.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.1022, allocations: 8 kB / 363.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1022, allocations: 8.062 kB / 363.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.1022, allocations: 3.984 kB / 363.3 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1023, allocations: 4 kB / 363.3 MB, free: 9.379 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.868e-05/0.1023, allocations: 117.8 kB / 363.4 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.1026, allocations: 89.55 kB / 363.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.1027, allocations: 11.84 kB / 363.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1027, allocations: 0 / 363.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1027, allocations: 7.922 kB / 363.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1027, allocations: 0 / 363.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.1028, allocations: 165.8 kB / 363.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1028, allocations: 4 kB / 363.7 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.937e-05/0.1029, allocations: 11.98 kB / 363.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1029, allocations: 3.938 kB / 363.7 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.103, allocations: 7.938 kB / 363.7 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.103, allocations: 0 / 363.7 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.103, allocations: 0 / 363.7 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.1033, allocations: 117.1 kB / 363.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.1033, allocations: 85.02 kB / 363.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.1034, allocations: 3.938 kB / 363.9 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1034, allocations: 11.98 kB / 363.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-06/0.1034, allocations: 0 / 363.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1035, allocations: 7.922 kB / 364 MB, free: 8.637 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.926e-05/0.1035, allocations: 83.28 kB / 364 MB, free: 8.555 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1035, allocations: 4 kB / 364 MB, free: 8.551 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001847/0.1037, allocations: 4 kB / 364 MB, free: 8.547 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.0001113/0.1038, allocations: 110.9 kB / 364.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.104, allocations: 43.89 kB / 364.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.104, allocations: 0 / 364.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.104, allocations: 0 / 364.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.1044, allocations: 44.22 kB / 364.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.1048, allocations: 162.5 kB / 364.4 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.1051, allocations: 0.6851 MB / 365.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.1051, allocations: 7.438 kB / 365.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1051, allocations: 0 / 365.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of Templates: time 0.002231/0.1073, allocations: 0.6921 MB / 365.8 MB, free: 6.746 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 -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