Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001234/0.001234, allocations: 113.9 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2853, allocations: 50.54 MB / 409.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003338/0.2887, allocations: 1.592 MB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2898, allocations: 0.5259 MB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.2899, allocations: 4 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.036e-05/0.29, allocations: 7.922 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.2901, allocations: 15.88 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.2905, allocations: 59.8 kB / 412.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.2906, allocations: 51.8 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2907, allocations: 16.17 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.2908, allocations: 31.91 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.2909, allocations: 23.86 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.2909, allocations: 0 / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.052e-05/0.291, allocations: 8 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.2911, allocations: 15.92 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.2911, allocations: 27.75 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.2913, allocations: 59.53 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2913, allocations: 4 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2913, allocations: 8 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.2913, allocations: 0 / 412.4 MB, free: 15.11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005221/0.2918, allocations: 379 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.2919, allocations: 12.03 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.2921, allocations: 20.81 kB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.2924, allocations: 212.3 kB / 413 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2924, allocations: 4.375 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.2925, allocations: 7.938 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.2928, allocations: 113.8 kB / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2928, allocations: 0 / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2928, allocations: 4 kB / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2928, allocations: 7.984 kB / 413.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.85e-05/0.2929, allocations: 19.98 kB / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.2933, allocations: 274.5 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.2934, allocations: 79.78 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.821e-05/0.2935, allocations: 34.62 kB / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.2935, allocations: 0 / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.2936, allocations: 34.56 kB / 413.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.2936, allocations: 4 kB / 413.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002899/0.2939, allocations: 81.5 kB / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.2939, allocations: 106.8 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.2941, allocations: 145.8 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.2941, allocations: 29.7 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.2942, allocations: 88.5 kB / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.2942, allocations: 8 kB / 414 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.2942, allocations: 21.67 kB / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2944, allocations: 322.8 kB / 414.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.2944, allocations: 4 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/0.2945, allocations: 35.42 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/0.2946, allocations: 55.3 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2946, allocations: 0 / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000141/0.2947, allocations: 69.61 kB / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2948, allocations: 4.125 kB / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.2948, allocations: 4 kB / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2948, allocations: 7.938 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.2949, allocations: 8 kB / 414.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2949, allocations: 0 / 414.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.295, allocations: 11.92 kB / 414.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.295, allocations: 0 / 414.6 MB, free: 12.64 MB / 334.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 9.961e-05/0.2951, allocations: 117.8 kB / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.2951, allocations: 11.91 kB / 414.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.2952, allocations: 19.86 kB / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2952, allocations: 4 kB / 414.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2952, allocations: 0 / 414.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.2952, allocations: 96.98 kB / 414.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.2953, allocations: 4 kB / 414.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.2953, allocations: 3.938 kB / 414.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.2954, allocations: 0 / 414.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002454/0.2956, allocations: 311.4 kB / 415.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002347/0.2959, allocations: 393.3 kB / 415.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.182e-05/0.296, allocations: 20.08 kB / 415.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.63e-05/0.296, allocations: 114.6 kB / 415.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of Backend: time 2.004e-06/0.296, allocations: 0 / 415.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005886/0.2966, allocations: 104.9 kB / 415.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005998/0.2972, allocations: 0.6184 MB / 416.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of Templates: time 0.003484/0.3007, allocations: 0.6793 MB / 417 MB, free: 10.07 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1)