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.001316/0.001316, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 67.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3314, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002712/0.3342, allocations: 1.495 MB / 411.4 MB, free: 80 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008489/0.3351, allocations: 435 kB / 411.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.3351, allocations: 3.938 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.3352, allocations: 3.984 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.086e-05/0.3353, allocations: 3.938 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.3355, allocations: 27.91 kB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.626e-05/0.3356, allocations: 39.86 kB / 411.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.666e-05/0.3357, allocations: 15.98 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/0.3358, allocations: 15.92 kB / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.577e-05/0.3358, allocations: 19.86 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3359, allocations: 4 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.3359, allocations: 4 kB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.3359, allocations: 0 / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.3359, allocations: 19.92 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.802e-05/0.336, allocations: 31.83 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3361, allocations: 4 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3361, allocations: 4 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3361, allocations: 0 / 412.1 MB, free: 15.45 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.0004618/0.3365, allocations: 355.2 kB / 412.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3366, allocations: 8.031 kB / 412.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.3366, allocations: 4.844 kB / 412.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.3369, allocations: 176.4 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.3369, allocations: 384 / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3369, allocations: 8.312 kB / 412.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.3374, allocations: 147.4 kB / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3374, allocations: 0 / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3374, allocations: 0 / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3375, allocations: 4 kB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.3376, allocations: 39.95 kB / 412.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.3378, allocations: 158.9 kB / 412.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.338, allocations: 82.45 kB / 413 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3381, allocations: 40.91 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.3382, allocations: 0 / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.3382, allocations: 34.5 kB / 413.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3382, allocations: 0 / 413.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003633/0.3386, allocations: 97.77 kB / 413.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.3386, allocations: 55.34 kB / 413.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.408e-05/0.3387, allocations: 109.8 kB / 413.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.3387, allocations: 25.7 kB / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.3388, allocations: 88.14 kB / 413.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.214e-06/0.3388, allocations: 0 / 413.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.3388, allocations: 13.7 kB / 413.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3389, allocations: 318.8 kB / 413.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.3389, allocations: 3.938 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.339, allocations: 35.42 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.088e-05/0.339, allocations: 35.38 kB / 413.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.339, allocations: 0 / 413.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.491e-05/0.3391, allocations: 65.53 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3391, allocations: 11.94 kB / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3391, allocations: 0 / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3392, allocations: 0 / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/0.3392, allocations: 11.94 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3392, allocations: 0 / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.3393, allocations: 0 / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3393, allocations: 4 kB / 414 MB, free: 13.31 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.237e-05/0.3394, allocations: 121.8 kB / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.3394, allocations: 7.938 kB / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.3394, allocations: 7.891 kB / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3394, allocations: 0 / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3394, allocations: 0 / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.3395, allocations: 85.02 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.3395, allocations: 0 / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.793e-05/0.3396, allocations: 11.98 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-06/0.3396, allocations: 0 / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000255/0.3398, allocations: 164.9 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002587/0.3401, allocations: 242.7 kB / 414.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.761e-05/0.3402, allocations: 31.91 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.576e-05/0.3403, allocations: 83.27 kB / 414.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.3403, allocations: 4 kB / 414.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.3407, allocations: 94.33 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004783/0.3411, allocations: 0.5538 MB / 415.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of Templates: time 0.002711/0.3439, allocations: 423.9 kB / 415.8 MB, free: 11.39 MB / 334.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)