Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001833/0.001834, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002242/0.002242, allocations: 206.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2804, allocations: 50.54 MB / 409.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003026/0.2834, allocations: 1.624 MB / 411.6 MB, free: 128 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.2846, allocations: 0.5765 MB / 412.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2847, allocations: 4 kB / 412.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.077e-05/0.2848, allocations: 11.81 kB / 412.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.2849, allocations: 11.86 kB / 412.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.2853, allocations: 71.75 kB / 412.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.2854, allocations: 51.84 kB / 412.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2856, allocations: 28.2 kB / 412.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.2857, allocations: 31.8 kB / 412.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.829e-05/0.2858, allocations: 27.86 kB / 412.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2858, allocations: 4 kB / 412.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.46e-05/0.2858, allocations: 7.984 kB / 412.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.2859, allocations: 19.92 kB / 412.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.2859, allocations: 27.75 kB / 412.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.2861, allocations: 71.66 kB / 412.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2861, allocations: 0 / 412.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2861, allocations: 7.938 kB / 412.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.2861, allocations: 4 kB / 412.5 MB, free: 15.16 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004841/0.2866, allocations: 391 kB / 412.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2867, allocations: 8.031 kB / 412.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.2869, allocations: 24.78 kB / 412.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.2872, allocations: 224 kB / 413.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.2872, allocations: 4.375 kB / 413.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.2872, allocations: 8.375 kB / 413.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.2875, allocations: 143 kB / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2875, allocations: 0 / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.2875, allocations: 4 kB / 413.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2876, allocations: 0 / 413.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.234e-05/0.2876, allocations: 27.92 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.288, allocations: 291.4 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.2882, allocations: 90.42 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.2882, allocations: 47.48 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.2883, allocations: 7.938 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2883, allocations: 38.56 kB / 413.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.2883, allocations: 0 / 413.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002995/0.2886, allocations: 105.9 kB / 413.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.2887, allocations: 132.6 kB / 414 MB, free: 13.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.2888, allocations: 153.3 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.2889, allocations: 25.7 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.2889, allocations: 92.14 kB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.2889, allocations: 7.938 kB / 414.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.289, allocations: 17.72 kB / 414.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2891, allocations: 318.8 kB / 414.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.2892, allocations: 11.98 kB / 414.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/0.2892, allocations: 53.14 kB / 414.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.2893, allocations: 68.95 kB / 414.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2894, allocations: 0 / 414.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001665/0.2895, allocations: 89.48 kB / 414.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2895, allocations: 4.188 kB / 414.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2896, allocations: 8 kB / 414.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2896, allocations: 0 / 414.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.2897, allocations: 19.98 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.2897, allocations: 0 / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.2898, allocations: 4 kB / 414.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.2898, allocations: 4 kB / 414.9 MB, free: 12.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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 0.0001073/0.2899, allocations: 129.7 kB / 415 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.2899, allocations: 19.78 kB / 415 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.29, allocations: 19.83 kB / 415.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.29, allocations: 0 / 415.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.29, allocations: 0 / 415.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/0.2901, allocations: 105 kB / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.2901, allocations: 0 / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.2902, allocations: 4 kB / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.2902, allocations: 7.938 kB / 415.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002916/0.2905, allocations: 394.7 kB / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003084/0.2908, allocations: 476.6 kB / 416 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.78e-05/0.2909, allocations: 32.05 kB / 416.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.629e-05/0.291, allocations: 118.2 kB / 416.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of Backend: time 2.8e-07/0.291, allocations: 0 / 416.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006617/0.2917, allocations: 114.3 kB / 416.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006401/0.2923, allocations: 0.6329 MB / 416.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of Templates: time 0.003578/0.2959, allocations: 0.9262 MB / 417.8 MB, free: 9.402 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1)