Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 110.2 kB / 17.75 MB, free: 5.336 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.001883/0.001883, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.436/1.436, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 51.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2812, allocations: 49.42 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003562/0.2848, allocations: 1.695 MB / 403.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005946/0.2854, allocations: 159.4 kB / 403.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.2856, allocations: 3.938 kB / 403.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.02e-05/0.2856, allocations: 7.922 kB / 403.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.2859, allocations: 11.88 kB / 403.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.2862, allocations: 51.83 kB / 403.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.2863, allocations: 51.91 kB / 403.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.2865, allocations: 23.98 kB / 403.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.563e-05/0.2866, allocations: 31.8 kB / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.2866, allocations: 27.84 kB / 403.5 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.2867, allocations: 4 kB / 403.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.2867, allocations: 8 kB / 403.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.2868, allocations: 19.92 kB / 403.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.2869, allocations: 31.75 kB / 403.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.2871, allocations: 67.72 kB / 403.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2871, allocations: 0 / 403.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2871, allocations: 0 / 403.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.2871, allocations: 0 / 403.6 MB, free: 6.691 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006251/0.2878, allocations: 391.4 kB / 404 MB, free: 6.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.2878, allocations: 8.031 kB / 404 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.2879, allocations: 12.84 kB / 404 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.2882, allocations: 200 kB / 404.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.2882, allocations: 12.38 kB / 404.2 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.2883, allocations: 4.375 kB / 404.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.2887, allocations: 185.7 kB / 404.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.2887, allocations: 4.172 kB / 404.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.2887, allocations: 11.94 kB / 404.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2887, allocations: 0 / 404.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.2889, allocations: 31.98 kB / 404.4 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.2894, allocations: 369.8 kB / 404.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.2896, allocations: 115.8 kB / 404.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.2897, allocations: 58.69 kB / 405 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.2898, allocations: 7.938 kB / 405 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.2898, allocations: 42.48 kB / 405 MB, free: 5.066 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.824e-06/0.2898, allocations: 0 / 405 MB, free: 5.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003628/0.2902, allocations: 117.9 kB / 405.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.2903, allocations: 107.1 kB / 405.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.2904, allocations: 140.8 kB / 405.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.2904, allocations: 33.7 kB / 405.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.2905, allocations: 88.08 kB / 405.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.2905, allocations: 11.89 kB / 405.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.2906, allocations: 25.62 kB / 405.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2907, allocations: 322.8 kB / 405.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.578e-05/0.2908, allocations: 15.94 kB / 405.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.238e-05/0.2909, allocations: 67.72 kB / 405.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.291, allocations: 95.58 kB / 406 MB, free: 3.945 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.291, allocations: 3.938 kB / 406 MB, free: 3.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.2912, allocations: 105.5 kB / 406.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2913, allocations: 4 kB / 406.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2913, allocations: 4.078 kB / 406.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.2913, allocations: 0 / 406.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/0.2914, allocations: 31.86 kB / 406.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.2914, allocations: 8.266 kB / 406.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.2915, allocations: 11.91 kB / 406.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.2915, allocations: 4 kB / 406.2 MB, free: 3.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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 9.797e-05/0.2916, allocations: 129.8 kB / 406.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.2916, allocations: 7.906 kB / 406.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.2917, allocations: 12.72 kB / 406.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2917, allocations: 0 / 406.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2917, allocations: 3.984 kB / 406.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.168e-05/0.2918, allocations: 100.9 kB / 406.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.2918, allocations: 4 kB / 406.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.2919, allocations: 11.94 kB / 406.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.292, allocations: 3.938 kB / 406.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002883/0.2923, allocations: 331.4 kB / 406.8 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004271/0.2927, allocations: 470.1 kB / 407.2 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.89e-05/0.2928, allocations: 27.98 kB / 407.3 MB, free: 2.629 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.032e-05/0.2929, allocations: 107.2 kB / 407.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of Backend: time 2.81e-07/0.2929, allocations: 0 / 407.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005695/0.2935, allocations: 114.3 kB / 407.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007163/0.2942, allocations: 0.6278 MB / 408.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of Templates: time 0.003392/0.2976, allocations: 0.7143 MB / 408.8 MB, free: 1.02 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1)