Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0017/0.0017, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002192/0.002192, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 60.14 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3417, allocations: 50.53 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003093/0.3448, allocations: 1.578 MB / 411.5 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.346, allocations: 0.5376 MB / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.775e-05/0.3461, allocations: 0 / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.438e-05/0.3462, allocations: 3.938 kB / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.3463, allocations: 15.86 kB / 412.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.3467, allocations: 51.81 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.998e-05/0.3468, allocations: 43.86 kB / 412.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3469, allocations: 15.98 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.347, allocations: 35.91 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.3471, allocations: 19.86 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3471, allocations: 4 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.751e-05/0.3472, allocations: 8 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.3472, allocations: 15.92 kB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.3473, allocations: 23.81 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.3474, allocations: 59.73 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3475, allocations: 0 / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3475, allocations: 0 / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.3475, allocations: 0 / 412.3 MB, free: 15.21 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005745/0.3481, allocations: 376.3 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.3481, allocations: 8.031 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.3483, allocations: 16.83 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.3486, allocations: 204.1 kB / 412.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.3486, allocations: 4.375 kB / 412.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.3487, allocations: 8.359 kB / 412.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.349, allocations: 129.2 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.349, allocations: 3.938 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.349, allocations: 0 / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.349, allocations: 0 / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.3491, allocations: 19.98 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.3496, allocations: 273.8 kB / 413.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.3499, allocations: 138.2 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.167e-05/0.35, allocations: 29.77 kB / 413.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.3501, allocations: 8 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.3501, allocations: 30.56 kB / 413.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.3501, allocations: 3.938 kB / 413.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003312/0.3505, allocations: 81.56 kB / 413.7 MB, free: 13.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.3505, allocations: 88.98 kB / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.3507, allocations: 140.7 kB / 413.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.3507, allocations: 25.7 kB / 413.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.3508, allocations: 96.03 kB / 414 MB, free: 13.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.3508, allocations: 0 / 414 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.3509, allocations: 17.72 kB / 414 MB, free: 13.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3511, allocations: 318.8 kB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/0.3511, allocations: 8 kB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.3512, allocations: 39.42 kB / 414.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.3513, allocations: 43.36 kB / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3513, allocations: 3.938 kB / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001674/0.3515, allocations: 77.52 kB / 414.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3515, allocations: 4 kB / 414.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3516, allocations: 4 kB / 414.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3516, allocations: 0 / 414.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.3517, allocations: 8 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3517, allocations: 3.938 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.3518, allocations: 11.92 kB / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.3518, allocations: 0 / 414.5 MB, free: 12.73 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 0.0001315/0.3519, allocations: 129.8 kB / 414.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.352, allocations: 7.906 kB / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.352, allocations: 12.23 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.352, allocations: 4 kB / 414.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.352, allocations: 0 / 414.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.3521, allocations: 89 kB / 414.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.3521, allocations: 0 / 414.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.956e-05/0.3522, allocations: 11.94 kB / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.3523, allocations: 3.938 kB / 414.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002523/0.3526, allocations: 224.4 kB / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003154/0.3529, allocations: 314 kB / 415.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.302e-05/0.353, allocations: 19.92 kB / 415.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.527e-05/0.353, allocations: 113.5 kB / 415.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of Backend: time 9.62e-07/0.3531, allocations: 0 / 415.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005672/0.3536, allocations: 94.38 kB / 415.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006109/0.3543, allocations: 0.6206 MB / 416.1 MB, free: 11 MB / 334.1 MB Notification: Performance of Templates: time 0.003287/0.3576, allocations: 0.626 MB / 416.8 MB, free: 10.38 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1)