Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 110.5 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 51.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3025, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002731/0.3053, allocations: 1.552 MB / 403 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008567/0.3062, allocations: 470.7 kB / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.3063, allocations: 0 / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.844e-05/0.3063, allocations: 3.938 kB / 403.4 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.3065, allocations: 11.92 kB / 403.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.3067, allocations: 47.84 kB / 403.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.3069, allocations: 47.83 kB / 403.5 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.307, allocations: 11.94 kB / 403.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.307, allocations: 19.92 kB / 403.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.3071, allocations: 15.92 kB / 403.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3071, allocations: 0 / 403.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.3071, allocations: 7.938 kB / 403.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.3072, allocations: 7.938 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.3072, allocations: 27.8 kB / 403.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.3074, allocations: 51.81 kB / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3074, allocations: 0 / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.629e-06/0.3074, allocations: 4 kB / 403.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3074, allocations: 0 / 403.7 MB, free: 6.594 MB / 318.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.0006157/0.308, allocations: 360.3 kB / 404 MB, free: 6.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.3081, allocations: 12.03 kB / 404 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.3081, allocations: 8.844 kB / 404.1 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.3084, allocations: 200 kB / 404.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.3085, allocations: 4.375 kB / 404.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.3085, allocations: 4.375 kB / 404.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.3088, allocations: 93.36 kB / 404.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3088, allocations: 0 / 404.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3088, allocations: 0 / 404.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.3088, allocations: 4 kB / 404.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.3089, allocations: 15.98 kB / 404.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.3094, allocations: 269.6 kB / 404.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.078e-05/0.3095, allocations: 41.22 kB / 404.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.3095, allocations: 21.77 kB / 404.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3095, allocations: 0 / 404.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3096, allocations: 42.5 kB / 404.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3096, allocations: 0 / 404.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002723/0.3099, allocations: 65.52 kB / 404.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.3099, allocations: 77.36 kB / 404.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3101, allocations: 137.8 kB / 405 MB, free: 5.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3101, allocations: 29.7 kB / 405 MB, free: 5.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.3102, allocations: 88.12 kB / 405.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.3102, allocations: 0 / 405.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.3102, allocations: 21.62 kB / 405.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3104, allocations: 314.8 kB / 405.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.826e-05/0.3104, allocations: 12 kB / 405.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.635e-05/0.3105, allocations: 21.7 kB / 405.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.776e-05/0.3106, allocations: 33.59 kB / 405.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3106, allocations: 0 / 405.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000125/0.3107, allocations: 53.67 kB / 405.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3107, allocations: 4.125 kB / 405.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3107, allocations: 4 kB / 405.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3108, allocations: 4 kB / 405.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.3108, allocations: 4 kB / 405.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3109, allocations: 0 / 405.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.3109, allocations: 15.86 kB / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.3109, allocations: 0 / 405.6 MB, free: 4.41 MB / 318.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.528e-05/0.311, allocations: 117.8 kB / 405.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.3111, allocations: 7.906 kB / 405.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.3111, allocations: 15.86 kB / 405.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3111, allocations: 3.984 kB / 405.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3111, allocations: 0 / 405.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.3112, allocations: 93 kB / 405.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.3112, allocations: 0 / 405.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.3113, allocations: 4 kB / 405.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.3113, allocations: 3.938 kB / 405.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001916/0.3115, allocations: 216.2 kB / 406.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000199/0.3117, allocations: 309.9 kB / 406.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.842e-05/0.3118, allocations: 8 kB / 406.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.204e-05/0.3118, allocations: 109.8 kB / 406.5 MB, free: 3.484 MB / 318.1 MB Notification: Performance of Backend: time 1.743e-06/0.3118, allocations: 4.094 kB / 406.5 MB, free: 3.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.3123, allocations: 90.33 kB / 406.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005443/0.3128, allocations: 0.6088 MB / 407.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of Templates: time 0.002798/0.3156, allocations: 0.5173 MB / 407.7 MB, free: 2.223 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1)