Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 110.3 kB / 17.75 MB, free: 5.352 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.002135/0.002135, allocations: 181.4 kB / 18.67 MB, free: 4.434 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.449/1.449, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 51.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2846, allocations: 49.42 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.00262/0.2873, allocations: 1.556 MB / 403 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003793/0.2877, allocations: 143.5 kB / 403.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.2878, allocations: 0 / 403.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.354e-05/0.2878, allocations: 3.938 kB / 403.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.2879, allocations: 15.92 kB / 403.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.2882, allocations: 35.84 kB / 403.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.24e-05/0.2883, allocations: 39.84 kB / 403.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2884, allocations: 8 kB / 403.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.2884, allocations: 15.92 kB / 403.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.2885, allocations: 15.92 kB / 403.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.2885, allocations: 8 kB / 403.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.2885, allocations: 4 kB / 403.2 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.2886, allocations: 11.94 kB / 403.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.2886, allocations: 19.81 kB / 403.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2887, allocations: 51.8 kB / 403.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2887, allocations: 0 / 403.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2888, allocations: 0 / 403.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.2888, allocations: 0 / 403.3 MB, free: 6.957 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004259/0.2892, allocations: 368.3 kB / 403.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2892, allocations: 12.03 kB / 403.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.2893, allocations: 8.844 kB / 403.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.2895, allocations: 188.1 kB / 403.9 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2895, allocations: 8.375 kB / 403.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2895, allocations: 4.375 kB / 403.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.2898, allocations: 117.6 kB / 404 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2898, allocations: 192 / 404 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.2899, allocations: 3.938 kB / 404 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2899, allocations: 3.984 kB / 404 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.2899, allocations: 23.92 kB / 404.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.2902, allocations: 261.8 kB / 404.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.2904, allocations: 142.2 kB / 404.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.2905, allocations: 29.77 kB / 404.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.2905, allocations: 3.938 kB / 404.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.2906, allocations: 38.56 kB / 404.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2906, allocations: 0 / 404.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002549/0.2908, allocations: 77.52 kB / 404.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.2909, allocations: 77.11 kB / 404.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.291, allocations: 130.1 kB / 404.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.291, allocations: 29.7 kB / 404.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.291, allocations: 80.27 kB / 404.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.2911, allocations: 15.89 kB / 404.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.2911, allocations: 13.72 kB / 404.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.2912, allocations: 318.8 kB / 405.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-05/0.2913, allocations: 7.984 kB / 405.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.692e-05/0.2913, allocations: 39.36 kB / 405.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.005e-05/0.2914, allocations: 47.42 kB / 405.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2914, allocations: 0 / 405.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001221/0.2915, allocations: 73.41 kB / 405.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2916, allocations: 8.125 kB / 405.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2916, allocations: 0 / 405.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2916, allocations: 4 kB / 405.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.552e-05/0.2916, allocations: 11.98 kB / 405.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.2917, allocations: 0 / 405.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.2917, allocations: 4 kB / 405.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.2917, allocations: 0 / 405.4 MB, free: 4.551 MB / 318.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.172e-05/0.2918, allocations: 117.8 kB / 405.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.2918, allocations: 19.77 kB / 405.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.2919, allocations: 16.25 kB / 405.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2919, allocations: 0 / 405.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2919, allocations: 0 / 405.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.2919, allocations: 89.09 kB / 405.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.292, allocations: 8 kB / 405.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.95e-05/0.292, allocations: 0 / 405.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.2921, allocations: 3.984 kB / 405.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001756/0.2922, allocations: 228.1 kB / 405.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001918/0.2924, allocations: 310.3 kB / 406.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.487e-05/0.2925, allocations: 20.02 kB / 406.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.334e-05/0.2926, allocations: 106.6 kB / 406.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of Backend: time 3.41e-07/0.2926, allocations: 0 / 406.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004172/0.293, allocations: 101.6 kB / 406.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004867/0.2935, allocations: 0.6037 MB / 407 MB, free: 2.84 MB / 318.1 MB Notification: Performance of Templates: time 0.002467/0.296, allocations: 0.4992 MB / 407.5 MB, free: 2.344 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1)