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.0008783/0.0008782, allocations: 94.77 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001092, allocations: 205.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002952, allocations: 8 kB / 307.7 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1318, allocations: 51.52 MB / 359.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002279/0.1341, allocations: 1.207 MB / 360.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1352, allocations: 427.1 kB / 360.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1354, allocations: 0 / 360.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.1354, allocations: 7.922 kB / 360.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.835e-05/0.1355, allocations: 4 kB / 360.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.1358, allocations: 35.89 kB / 360.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.1359, allocations: 35.86 kB / 361 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1361, allocations: 8 kB / 361 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.1362, allocations: 11.92 kB / 361 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.1362, allocations: 19.86 kB / 361 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1362, allocations: 4 kB / 361 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.1363, allocations: 0 / 361 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.888e-05/0.1363, allocations: 3.984 kB / 361 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.1364, allocations: 49.52 kB / 361.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.1365, allocations: 27.89 kB / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1365, allocations: 0 / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1365, allocations: 0 / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1365, allocations: 0 / 361.1 MB, free: 11.46 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.0006571/0.1372, allocations: 348.4 kB / 361.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.1373, allocations: 8.031 kB / 361.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.1373, allocations: 16.83 kB / 361.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.1376, allocations: 180.3 kB / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1376, allocations: 4.375 kB / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.1377, allocations: 384 / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.1383, allocations: 163.5 kB / 361.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1383, allocations: 0 / 361.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1383, allocations: 0 / 361.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1384, allocations: 4 kB / 361.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.1386, allocations: 43.97 kB / 361.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.1388, allocations: 161.6 kB / 362 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.1392, allocations: 98.52 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.1393, allocations: 40.91 kB / 362.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1394, allocations: 0 / 362.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.1394, allocations: 42.44 kB / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1394, allocations: 0 / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004348/0.1398, allocations: 113.6 kB / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.1399, allocations: 55.39 kB / 362.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.14, allocations: 101.9 kB / 362.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1401, allocations: 25.7 kB / 362.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.1401, allocations: 92.12 kB / 362.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.1401, allocations: 0 / 362.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.1402, allocations: 9.719 kB / 362.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1403, allocations: 318.8 kB / 362.9 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.1404, allocations: 4 kB / 362.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.611e-05/0.1404, allocations: 31.36 kB / 362.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.655e-05/0.1405, allocations: 39.38 kB / 363 MB, free: 9.359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1405, allocations: 7.938 kB / 363 MB, free: 9.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001042/0.1406, allocations: 57.81 kB / 363 MB, free: 9.289 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.1406, allocations: 7.938 kB / 363 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1407, allocations: 0 / 363 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1407, allocations: 7.938 kB / 363 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-05/0.1408, allocations: 12 kB / 363 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.1408, allocations: 4 kB / 363 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.1408, allocations: 0 / 363 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1408, allocations: 8.109 kB / 363.1 MB, free: 9.25 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 0.0001537/0.141, allocations: 121.7 kB / 363.2 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.1412, allocations: 85.59 kB / 363.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.1413, allocations: 11.91 kB / 363.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1413, allocations: 0 / 363.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1413, allocations: 4 kB / 363.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-06/0.1414, allocations: 0 / 363.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.1415, allocations: 161.6 kB / 363.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1415, allocations: 0 / 363.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.382e-05/0.1416, allocations: 15.98 kB / 363.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1417, allocations: 3.938 kB / 363.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1417, allocations: 0 / 363.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1417, allocations: 0 / 363.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1417, allocations: 4 kB / 363.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.142, allocations: 113 kB / 363.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.142, allocations: 85.05 kB / 363.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.1421, allocations: 0 / 363.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.563e-05/0.1421, allocations: 11.98 kB / 363.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-06/0.1421, allocations: 4 kB / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.1422, allocations: 0 / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.252e-05/0.1422, allocations: 87.27 kB / 363.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1422, allocations: 0 / 363.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.1425, allocations: 4 kB / 363.8 MB, free: 8.441 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.0001889/0.1426, allocations: 95.25 kB / 363.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.1429, allocations: 47.91 kB / 363.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1429, allocations: 0 / 363.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.1429, allocations: 0 / 363.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.1433, allocations: 35.92 kB / 363.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.1437, allocations: 140.8 kB / 364.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.144, allocations: 0.6848 MB / 364.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.791e-05/0.144, allocations: 0 / 364.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.1441, allocations: 11.38 kB / 364.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1441, allocations: 0 / 364.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of Templates: time 0.003139/0.1472, allocations: 390.4 kB / 365.1 MB, free: 6.992 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/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