Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 115.5 kB / 18.45 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 210.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.393/1.393, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.91 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2339, allocations: 50.54 MB / 410.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002656/0.2365, allocations: 1.495 MB / 411.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007438/0.2373, allocations: 446.7 kB / 412.1 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.2373, allocations: 4 kB / 412.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.2374, allocations: 7.922 kB / 412.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.754e-05/0.2374, allocations: 7.938 kB / 412.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.2376, allocations: 19.97 kB / 412.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.568e-05/0.2377, allocations: 43.8 kB / 412.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.2378, allocations: 8 kB / 412.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.2378, allocations: 11.98 kB / 412.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.2379, allocations: 19.86 kB / 412.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.2379, allocations: 4 kB / 412.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.2379, allocations: 4 kB / 412.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.2379, allocations: 8 kB / 412.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.238, allocations: 19.91 kB / 412.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.748e-05/0.2381, allocations: 35.83 kB / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2381, allocations: 0 / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2381, allocations: 0 / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.2381, allocations: 0 / 412.3 MB, free: 15.34 MB / 334.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.0004746/0.2385, allocations: 351.2 kB / 412.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2386, allocations: 8.031 kB / 412.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.2386, allocations: 12.89 kB / 412.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.2388, allocations: 180.3 kB / 412.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.2388, allocations: 384 / 412.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.2388, allocations: 8.375 kB / 412.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.2393, allocations: 139.6 kB / 413 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2393, allocations: 0 / 413 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.2393, allocations: 4 kB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.2393, allocations: 0 / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.2394, allocations: 39.89 kB / 413.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.2396, allocations: 161.7 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.2399, allocations: 82.53 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.78e-05/0.24, allocations: 28.89 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.24, allocations: 3.984 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.24, allocations: 38.5 kB / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.24, allocations: 0 / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003452/0.2404, allocations: 97.58 kB / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.2404, allocations: 55.41 kB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/0.2405, allocations: 109.8 kB / 413.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.2405, allocations: 29.7 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.2406, allocations: 84.08 kB / 413.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.2406, allocations: 4 kB / 413.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.2406, allocations: 17.7 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2408, allocations: 318.8 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.2408, allocations: 7.938 kB / 414.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.2408, allocations: 27.42 kB / 414.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.634e-05/0.2408, allocations: 39.38 kB / 414.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2408, allocations: 0 / 414.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.779e-05/0.2409, allocations: 57.53 kB / 414.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2409, allocations: 11.92 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2409, allocations: 4 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.241, allocations: 0 / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.241, allocations: 4 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.241, allocations: 4 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.241, allocations: 4.125 kB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.241, allocations: 4 kB / 414.2 MB, free: 13.19 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.704e-05/0.2411, allocations: 113.8 kB / 414.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.2413, allocations: 85.48 kB / 414.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.2413, allocations: 7.906 kB / 414.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2414, allocations: 7.984 kB / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2414, allocations: 0 / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.2414, allocations: 0 / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.2415, allocations: 161.6 kB / 414.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2415, allocations: 3.984 kB / 414.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.791e-05/0.2415, allocations: 12 kB / 414.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2415, allocations: 3.938 kB / 414.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.2416, allocations: 0 / 414.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2416, allocations: 4 kB / 414.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2416, allocations: 3.984 kB / 414.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.2418, allocations: 101.1 kB / 414.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.2418, allocations: 89.31 kB / 414.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.2419, allocations: 4 kB / 414.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.597e-05/0.2419, allocations: 3.984 kB / 414.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-06/0.2419, allocations: 4 kB / 414.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.2419, allocations: 3.984 kB / 414.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.657e-05/0.242, allocations: 83.28 kB / 414.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.242, allocations: 0 / 414.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001789/0.2421, allocations: 8 kB / 414.9 MB, free: 12.39 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001128/0.2422, allocations: 103.2 kB / 415 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.2424, allocations: 27.92 kB / 415 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2424, allocations: 3.938 kB / 415 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2424, allocations: 0 / 415 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.2427, allocations: 40.19 kB / 415.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.243, allocations: 125.5 kB / 415.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.2433, allocations: 0.6807 MB / 415.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.318e-05/0.2433, allocations: 0 / 415.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.2433, allocations: 11.44 kB / 415.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2433, allocations: 0 / 415.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of Templates: time 0.00254/0.2459, allocations: 424.7 kB / 416.3 MB, free: 10.93 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches