Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001336, allocations: 114.3 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.001906/0.001907, allocations: 206.8 kB / 19.41 MB, free: 3.648 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.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.288, allocations: 50.54 MB / 409.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002825/0.2909, allocations: 1.562 MB / 411.5 MB, free: 80 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2921, allocations: 0.5182 MB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.2922, allocations: 4 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.62e-05/0.2923, allocations: 7.922 kB / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.2925, allocations: 15.86 kB / 412.1 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.2928, allocations: 51.83 kB / 412.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.293, allocations: 39.84 kB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.2931, allocations: 8 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.2933, allocations: 31.84 kB / 412.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.312e-05/0.2934, allocations: 23.92 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.2934, allocations: 3.938 kB / 412.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.938e-05/0.2935, allocations: 4 kB / 412.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.2935, allocations: 11.98 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.2936, allocations: 27.81 kB / 412.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.2937, allocations: 47.81 kB / 412.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2938, allocations: 0 / 412.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.698e-06/0.2938, allocations: 4 kB / 412.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.2938, allocations: 3.938 kB / 412.3 MB, free: 15.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006109/0.2944, allocations: 368.3 kB / 412.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.327e-05/0.2945, allocations: 12.02 kB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.2947, allocations: 12.84 kB / 412.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.2949, allocations: 204 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.295, allocations: 4.359 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.295, allocations: 8.312 kB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.2952, allocations: 101.3 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2953, allocations: 0 / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2953, allocations: 0 / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2953, allocations: 4 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.718e-05/0.2954, allocations: 11.98 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.2957, allocations: 265.7 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.203e-05/0.2958, allocations: 45.2 kB / 413.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.2959, allocations: 21.77 kB / 413.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2959, allocations: 0 / 413.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2959, allocations: 46.5 kB / 413.4 MB, free: 14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.296, allocations: 0 / 413.4 MB, free: 14 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002602/0.2962, allocations: 61.58 kB / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2963, allocations: 85.05 kB / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2964, allocations: 136.6 kB / 413.7 MB, free: 13.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.2964, allocations: 25.7 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.2965, allocations: 88.12 kB / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.2965, allocations: 12.25 kB / 413.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.2965, allocations: 13.62 kB / 413.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2967, allocations: 322.8 kB / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.32e-05/0.2967, allocations: 7.984 kB / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.214e-05/0.2968, allocations: 17.72 kB / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.888e-05/0.2969, allocations: 29.77 kB / 414.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2969, allocations: 3.938 kB / 414.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001197/0.297, allocations: 57.61 kB / 414.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.297, allocations: 8 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.297, allocations: 0 / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.297, allocations: 0 / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.2971, allocations: 4 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2971, allocations: 4 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.2972, allocations: 8.047 kB / 414.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.2972, allocations: 0 / 414.3 MB, free: 13.06 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.594e-05/0.2973, allocations: 125.7 kB / 414.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.2973, allocations: 7.906 kB / 414.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.2974, allocations: 19.81 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.2974, allocations: 4 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2974, allocations: 0 / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.2975, allocations: 93 kB / 414.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.2975, allocations: 0 / 414.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.2976, allocations: 8 kB / 414.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.2976, allocations: 7.938 kB / 414.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001865/0.2978, allocations: 208.2 kB / 414.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002052/0.298, allocations: 310 kB / 415 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.818e-05/0.2981, allocations: 8 kB / 415 MB, free: 12.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.431e-05/0.2981, allocations: 109.5 kB / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of Backend: time 2.5e-07/0.2981, allocations: 0 / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005286/0.2987, allocations: 94.33 kB / 415.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005466/0.2992, allocations: 0.6169 MB / 415.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of Templates: time 0.003168/0.3024, allocations: 0.5643 MB / 416.4 MB, free: 10.8 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1)