Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001228/0.001228, allocations: 111 kB / 18.45 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.001484/0.001485, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001225, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2892, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002755/0.292, allocations: 1.511 MB / 411.5 MB, free: 72 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00086/0.2929, allocations: 470.8 kB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.108e-05/0.293, allocations: 4 kB / 411.9 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.293, allocations: 7.922 kB / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.489e-05/0.2931, allocations: 3.938 kB / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.2934, allocations: 31.84 kB / 412 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.2935, allocations: 39.86 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2936, allocations: 7.984 kB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.2938, allocations: 39.91 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.2938, allocations: 11.88 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.2939, allocations: 4 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.535e-05/0.2939, allocations: 11.98 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.2939, allocations: 3.938 kB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.294, allocations: 15.94 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.2941, allocations: 43.81 kB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2941, allocations: 0 / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2941, allocations: 0 / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.2941, allocations: 0 / 412.1 MB, free: 15.38 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.0004776/0.2946, allocations: 355.2 kB / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.2947, allocations: 8.031 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.2948, allocations: 12.92 kB / 412.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.2951, allocations: 181.5 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2951, allocations: 384 / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.2951, allocations: 4.375 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.2954, allocations: 123.5 kB / 412.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.2955, allocations: 0 / 412.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.2955, allocations: 0 / 412.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2955, allocations: 4 kB / 412.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.757e-05/0.2956, allocations: 19.98 kB / 412.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.2957, allocations: 165.6 kB / 413 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.2959, allocations: 62.48 kB / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.301e-05/0.296, allocations: 28.86 kB / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.296, allocations: 0 / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.296, allocations: 34.5 kB / 413.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.296, allocations: 0 / 413.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002398/0.2963, allocations: 81.77 kB / 413.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.2963, allocations: 51.41 kB / 413.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.2964, allocations: 109.8 kB / 413.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.2964, allocations: 29.64 kB / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.2965, allocations: 88.08 kB / 413.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.2965, allocations: 7.984 kB / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.2965, allocations: 13.72 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.2967, allocations: 322.8 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.2967, allocations: 0 / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.127e-05/0.2967, allocations: 31.41 kB / 413.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.2968, allocations: 39.38 kB / 413.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2968, allocations: 4 kB / 413.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.875e-05/0.2969, allocations: 53.62 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2969, allocations: 7.938 kB / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2969, allocations: 4 kB / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2969, allocations: 0 / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.297, allocations: 8 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.297, allocations: 3.938 kB / 414 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.297, allocations: 4 kB / 414 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.297, allocations: 8.125 kB / 414 MB, free: 13.3 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 7.822e-05/0.2971, allocations: 109.8 kB / 414.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.2971, allocations: 15.83 kB / 414.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.2972, allocations: 7.906 kB / 414.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2972, allocations: 0 / 414.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2972, allocations: 4 kB / 414.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.2972, allocations: 81.02 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.2973, allocations: 3.984 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.791e-05/0.2973, allocations: 8 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-06/0.2973, allocations: 4.375 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001751/0.2975, allocations: 137 kB / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002033/0.2977, allocations: 234.7 kB / 414.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.268e-05/0.2978, allocations: 15.98 kB / 414.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.986e-05/0.2978, allocations: 95.2 kB / 414.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of Backend: time 2.31e-07/0.2978, allocations: 4 kB / 414.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004636/0.2983, allocations: 90.33 kB / 414.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004858/0.2988, allocations: 0.57 MB / 415.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of Templates: time 0.002809/0.3016, allocations: 399.4 kB / 415.7 MB, free: 11.44 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1)