Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 46.11 kB / 301.3 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09837/0.09952, allocations: 49.44 MB / 350.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003447/0.103, allocations: 1.456 MB / 352.2 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002764/0.1033, allocations: 35.84 kB / 352.2 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.879e-05/0.1034, allocations: 4 kB / 352.2 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.752e-05/0.1035, allocations: 3.938 kB / 352.2 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.281e-05/0.1036, allocations: 3.938 kB / 352.2 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.1039, allocations: 34.41 kB / 352.3 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.104, allocations: 35.92 kB / 352.3 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1041, allocations: 7.984 kB / 352.3 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.1042, allocations: 19.92 kB / 352.3 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.273e-05/0.1042, allocations: 23.91 kB / 352.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1043, allocations: 4 kB / 352.4 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.1043, allocations: 4 kB / 352.4 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.1043, allocations: 7.938 kB / 352.4 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.1044, allocations: 15.92 kB / 352.4 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.915e-05/0.1045, allocations: 31.89 kB / 352.4 MB, free: 2.715 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1045, allocations: 0 / 352.4 MB, free: 2.715 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1045, allocations: 0 / 352.4 MB, free: 2.715 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1045, allocations: 0 / 352.4 MB, free: 2.715 MB / 286.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.0006053/0.1051, allocations: 371.6 kB / 352.8 MB, free: 2.301 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1052, allocations: 8.031 kB / 352.8 MB, free: 2.293 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.1052, allocations: 4.844 kB / 352.8 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1054, allocations: 184.2 kB / 353 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.1054, allocations: 384 / 353 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.1055, allocations: 8.359 kB / 353 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/0.1061, allocations: 151.8 kB / 353.1 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1061, allocations: 4.188 kB / 353.1 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1061, allocations: 7.938 kB / 353.1 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1061, allocations: 0 / 353.1 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.1064, allocations: 51.86 kB / 353.2 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.1066, allocations: 165.7 kB / 353.4 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.1069, allocations: 78.52 kB / 353.4 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1071, allocations: 40.89 kB / 353.5 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.1071, allocations: 8 kB / 353.5 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1071, allocations: 30.56 kB / 353.5 MB, free: 1.453 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.1071, allocations: 0 / 353.5 MB, free: 1.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005152/0.1077, allocations: 117.5 kB / 353.6 MB, free: 1.332 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.1077, allocations: 55.41 kB / 353.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.1078, allocations: 105.8 kB / 353.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.2e-05/0.1079, allocations: 25.7 kB / 353.8 MB, free: 1.121 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.108, allocations: 92.14 kB / 353.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.108, allocations: 7.891 kB / 353.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.108, allocations: 17.72 kB / 353.9 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1082, allocations: 314.8 kB / 354.2 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.1082, allocations: 4 kB / 354.2 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.1082, allocations: 31.42 kB / 354.3 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.1083, allocations: 39.38 kB / 354.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1083, allocations: 0 / 354.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.13e-05/0.1084, allocations: 69.5 kB / 354.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1084, allocations: 4 kB / 354.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1084, allocations: 7.938 kB / 354.4 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1084, allocations: 4.125 kB / 354.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.1085, allocations: 8 kB / 354.4 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1085, allocations: 0 / 354.4 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.1085, allocations: 7.984 kB / 354.4 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.1085, allocations: 0 / 354.4 MB, free: 488 kB / 286.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 8.632e-05/0.1086, allocations: 113.8 kB / 354.5 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/0.1089, allocations: 89.48 kB / 354.6 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.109, allocations: 11.84 kB / 354.6 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.109, allocations: 4 kB / 354.6 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.109, allocations: 7.984 kB / 354.6 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.109, allocations: 0 / 354.6 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.637e-05/0.1091, allocations: 157.7 kB / 354.8 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1091, allocations: 0 / 354.8 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.963e-05/0.1092, allocations: 11.98 kB / 354.8 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1092, allocations: 4 kB / 354.8 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1093, allocations: 3.938 kB / 354.8 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1093, allocations: 0 / 354.8 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1093, allocations: 0 / 354.8 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.1096, allocations: 121.2 kB / 354.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.1097, allocations: 85.05 kB / 355 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1097, allocations: 8.062 kB / 355 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.655e-05/0.1098, allocations: 11.98 kB / 355 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-06/0.1098, allocations: 0 / 355 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1098, allocations: 7.984 kB / 355 MB, free: 15.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.652e-05/0.1099, allocations: 83.53 kB / 355.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1099, allocations: 0 / 355.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001916/0.1101, allocations: 12 kB / 355.1 MB, free: 15.65 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.0001232/0.1102, allocations: 107.7 kB / 355.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.1105, allocations: 47.89 kB / 355.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1105, allocations: 0 / 355.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.1105, allocations: 0 / 355.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.1109, allocations: 44.23 kB / 355.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.1114, allocations: 155.4 kB / 355.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1117, allocations: 0.6846 MB / 356.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.1117, allocations: 7.438 kB / 356.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1117, allocations: 0 / 356.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of Templates: time 0.002301/0.114, allocations: 0.6898 MB / 356.8 MB, free: 13.85 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches