Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00161/0.00161, 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.001942/0.001942, 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.514/1.514, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 58.41 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1261, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002959/0.1291, allocations: 1.484 MB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008766/0.13, allocations: 440.5 kB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.1301, allocations: 0 / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.701e-05/0.1302, allocations: 3.984 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.1302, allocations: 7.875 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1305, allocations: 27.97 kB / 360.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.1306, allocations: 39.8 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1308, allocations: 23.97 kB / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.1308, allocations: 8 kB / 360.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.821e-05/0.1309, allocations: 19.86 kB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1309, allocations: 4 kB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.1309, allocations: 4 kB / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.131, allocations: 0 / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.1e-05/0.131, allocations: 23.86 kB / 361 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.1311, allocations: 43.81 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1311, allocations: 0 / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1311, allocations: 4 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.1312, allocations: 0 / 361 MB, free: 11.21 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.000474/0.1316, allocations: 351.3 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1317, allocations: 8.031 kB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.1317, allocations: 4.938 kB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.132, allocations: 180.2 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.132, allocations: 384 / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.132, allocations: 4.375 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.1325, allocations: 139.6 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.1325, allocations: 0 / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1325, allocations: 4 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1325, allocations: 0 / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.1327, allocations: 39.95 kB / 361.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.1328, allocations: 165.5 kB / 361.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.1331, allocations: 78.52 kB / 362 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1332, allocations: 40.91 kB / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1332, allocations: 0 / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.1332, allocations: 34.5 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 3.206e-06/0.1332, allocations: 3.984 kB / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.00034/0.1336, allocations: 101.5 kB / 362.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.1336, allocations: 55.41 kB / 362.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.1337, allocations: 105.8 kB / 362.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1337, allocations: 29.7 kB / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.1338, allocations: 84.14 kB / 362.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.679e-06/0.1338, allocations: 0 / 362.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.1338, allocations: 25.64 kB / 362.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.134, allocations: 310.8 kB / 362.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.134, allocations: 4 kB / 362.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.134, allocations: 35.42 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.421e-05/0.1341, allocations: 31.38 kB / 362.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1341, allocations: 0 / 362.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.485e-05/0.1342, allocations: 57.62 kB / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1342, allocations: 15.88 kB / 362.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1342, allocations: 0 / 362.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1342, allocations: 0 / 362.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.1343, allocations: 8 kB / 362.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.1343, allocations: 0 / 362.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.1343, allocations: 4 kB / 362.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.1343, allocations: 0 / 362.9 MB, free: 9.078 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: 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.526e-05/0.1344, allocations: 121.9 kB / 363 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.1346, allocations: 89.38 kB / 363.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.1346, allocations: 7.891 kB / 363.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.1347, allocations: 0 / 363.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1347, allocations: 0 / 363.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1347, allocations: 0 / 363.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.705e-05/0.1348, allocations: 161.7 kB / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1348, allocations: 0 / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.1348, allocations: 12 kB / 363.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1349, allocations: 7.938 kB / 363.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1349, allocations: 3.984 kB / 363.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1349, allocations: 4 kB / 363.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1349, allocations: 0 / 363.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.1351, allocations: 97.09 kB / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.1352, allocations: 84.95 kB / 363.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.1352, allocations: 4 kB / 363.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.467e-05/0.1352, allocations: 11.98 kB / 363.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-06/0.1352, allocations: 0 / 363.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1353, allocations: 0 / 363.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.026e-05/0.1353, allocations: 91.52 kB / 363.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1353, allocations: 0 / 363.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.1355, allocations: 8 kB / 363.6 MB, free: 8.277 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: 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.0001075/0.1356, allocations: 106.3 kB / 363.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.1358, allocations: 35.97 kB / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1358, allocations: 0 / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.1358, allocations: 3.938 kB / 363.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.1361, allocations: 28.5 kB / 363.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.1364, allocations: 133.5 kB / 363.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.1366, allocations: 0.6809 MB / 364.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.652e-05/0.1367, allocations: 8 kB / 364.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.1367, allocations: 7.438 kB / 364.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1367, allocations: 0 / 364.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of Templates: time 0.002501/0.1392, allocations: 419.1 kB / 365 MB, free: 6.824 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches