Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001568/0.001568, allocations: 111.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002064/0.002064, allocations: 206.7 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.508/1.508, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2667, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002412/0.2691, allocations: 1.55 MB / 411.5 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003708/0.2695, allocations: 131.6 kB / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.2696, allocations: 3.938 kB / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.335e-05/0.2696, allocations: 11.92 kB / 411.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.2698, allocations: 7.938 kB / 411.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.27, allocations: 43.91 kB / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.665e-05/0.2701, allocations: 35.84 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.2702, allocations: 12 kB / 411.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.2702, allocations: 15.92 kB / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.2703, allocations: 11.94 kB / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.2703, allocations: 0 / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.247e-05/0.2703, allocations: 4 kB / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.2704, allocations: 15.92 kB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.2704, allocations: 23.8 kB / 411.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.917e-05/0.2705, allocations: 47.83 kB / 411.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2705, allocations: 3.938 kB / 411.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2705, allocations: 0 / 411.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.2705, allocations: 0 / 411.9 MB, free: 15.66 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.000395/0.2709, allocations: 375 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.271, allocations: 8.031 kB / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.271, allocations: 8.844 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.2712, allocations: 193.5 kB / 412.4 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2712, allocations: 4.375 kB / 412.4 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2713, allocations: 4.375 kB / 412.4 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.2715, allocations: 113.6 kB / 412.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2716, allocations: 192 / 412.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2716, allocations: 15.86 kB / 412.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2716, allocations: 7.938 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.439e-05/0.2717, allocations: 15.98 kB / 412.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.2719, allocations: 253.7 kB / 412.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.2721, allocations: 146.2 kB / 413 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/0.2722, allocations: 29.77 kB / 413 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.2722, allocations: 0 / 413 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.2723, allocations: 42.55 kB / 413.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.2723, allocations: 3.984 kB / 413.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.00023/0.2725, allocations: 73.61 kB / 413.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.2725, allocations: 81.11 kB / 413.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2727, allocations: 130 kB / 413.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.2727, allocations: 25.7 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.2727, allocations: 88.14 kB / 413.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.2727, allocations: 7.906 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.2728, allocations: 17.7 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.2729, allocations: 315 kB / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.062e-05/0.2729, allocations: 11.98 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-05/0.273, allocations: 31.44 kB / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.492e-05/0.2731, allocations: 51.36 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2731, allocations: 4 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001307/0.2732, allocations: 69.45 kB / 413.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2732, allocations: 4 kB / 413.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2732, allocations: 4 kB / 413.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2733, allocations: 0 / 413.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.286e-05/0.2733, allocations: 11.94 kB / 414 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.2733, allocations: 12.05 kB / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.2734, allocations: 4 kB / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2734, allocations: 0 / 414 MB, free: 13.24 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.212e-05/0.2735, allocations: 125.7 kB / 414.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.2735, allocations: 7.844 kB / 414.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.2735, allocations: 16.23 kB / 414.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2736, allocations: 0 / 414.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2736, allocations: 4 kB / 414.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.2736, allocations: 89.09 kB / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.2736, allocations: 4 kB / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.2737, allocations: 0 / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.2738, allocations: 7.938 kB / 414.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001757/0.2739, allocations: 224.1 kB / 414.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001945/0.2741, allocations: 310 kB / 414.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.55e-05/0.2742, allocations: 15.94 kB / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.315e-05/0.2743, allocations: 110.8 kB / 414.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of Backend: time 2.3e-07/0.2743, allocations: 0 / 414.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004421/0.2747, allocations: 92.62 kB / 415 MB, free: 12.19 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005066/0.2752, allocations: 0.608 MB / 415.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of Templates: time 0.002576/0.2778, allocations: 0.5044 MB / 416.1 MB, free: 11.03 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1)