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.001314/0.001314, allocations: 110.8 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.001547/0.001547, allocations: 212 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.527/1.527, allocations: 227.4 MB / 247.6 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2961, allocations: 50.55 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002871/0.299, allocations: 1.558 MB / 411.5 MB, free: 12 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009257/0.3, allocations: 0.5221 MB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.3001, allocations: 7.938 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.65e-05/0.3002, allocations: 3.938 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.3003, allocations: 7.922 kB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.3006, allocations: 51.83 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.3007, allocations: 43.8 kB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3009, allocations: 15.98 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.301, allocations: 27.91 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.3011, allocations: 19.88 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.3011, allocations: 0 / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.651e-05/0.3011, allocations: 7.984 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.3012, allocations: 8 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.3012, allocations: 27.8 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.3014, allocations: 51.81 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.3014, allocations: 0 / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3014, allocations: 11.88 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3014, allocations: 4 kB / 412.3 MB, free: 15.2 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.0005253/0.302, allocations: 364.3 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.302, allocations: 8.031 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.3022, allocations: 16.83 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.3024, allocations: 196.1 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.3025, allocations: 4.312 kB / 412.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.3025, allocations: 12.38 kB / 412.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.3027, allocations: 89.36 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3028, allocations: 0 / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3028, allocations: 0 / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3028, allocations: 4 kB / 413 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.042e-05/0.3029, allocations: 19.92 kB / 413 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.3032, allocations: 265.8 kB / 413.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.522e-05/0.3033, allocations: 53.12 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.3034, allocations: 17.78 kB / 413.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.3034, allocations: 4 kB / 413.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3034, allocations: 34.56 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.3034, allocations: 0 / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002427/0.3037, allocations: 69.52 kB / 413.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.3037, allocations: 81.11 kB / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3039, allocations: 140.8 kB / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3039, allocations: 29.7 kB / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.304, allocations: 84.14 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.304, allocations: 4 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.304, allocations: 25.55 kB / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3042, allocations: 314.8 kB / 414.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-05/0.3042, allocations: 8 kB / 414.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-05/0.3043, allocations: 25.7 kB / 414.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.69e-05/0.3043, allocations: 29.64 kB / 414.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3044, allocations: 3.938 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001131/0.3045, allocations: 53.62 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3045, allocations: 8 kB / 414.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3045, allocations: 0 / 414.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3045, allocations: 8.109 kB / 414.2 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.3046, allocations: 4 kB / 414.2 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.3046, allocations: 7.984 kB / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.474e-05/0.3047, allocations: 0 / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3047, allocations: 4 kB / 414.3 MB, free: 12.98 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.148e-05/0.3048, allocations: 125.7 kB / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.3048, allocations: 7.906 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.3048, allocations: 15.83 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3049, allocations: 4 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3049, allocations: 0 / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.021e-05/0.3049, allocations: 93 kB / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.305, allocations: 0 / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.305, allocations: 3.984 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.3051, allocations: 7.938 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001899/0.3053, allocations: 216.1 kB / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002358/0.3055, allocations: 298.1 kB / 415 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.289e-05/0.3056, allocations: 19.92 kB / 415 MB, free: 12.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.055e-05/0.3057, allocations: 109.5 kB / 415.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of Backend: time 5.21e-07/0.3057, allocations: 0 / 415.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004712/0.3061, allocations: 94.42 kB / 415.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006759/0.3068, allocations: 0.605 MB / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of Templates: time 0.003251/0.3101, allocations: 0.5786 MB / 416.4 MB, free: 10.72 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)