Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 112.1 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.001323/0.001323, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2834, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003485/0.2869, allocations: 1.554 MB / 411.5 MB, free: 40 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000488/0.2874, allocations: 135.5 kB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.2876, allocations: 4 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.919e-05/0.2876, allocations: 3.938 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.2878, allocations: 3.938 kB / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.2881, allocations: 43.83 kB / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2882, allocations: 39.86 kB / 411.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2883, allocations: 15.98 kB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.2884, allocations: 11.94 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.2884, allocations: 15.91 kB / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.2884, allocations: 0 / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.2885, allocations: 4 kB / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.69e-05/0.2885, allocations: 11.94 kB / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.2886, allocations: 27.8 kB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.2887, allocations: 51.77 kB / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2887, allocations: 0 / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2887, allocations: 0 / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.2887, allocations: 0 / 411.9 MB, free: 15.68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005763/0.2893, allocations: 367.1 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.2894, allocations: 8.031 kB / 412.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.2894, allocations: 8.844 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.2897, allocations: 197.4 kB / 412.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-06/0.2897, allocations: 4.375 kB / 412.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.2898, allocations: 4.375 kB / 412.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.2901, allocations: 109.6 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2901, allocations: 192 / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2901, allocations: 7.938 kB / 412.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2901, allocations: 8 kB / 412.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.307e-05/0.2902, allocations: 19.86 kB / 412.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.2906, allocations: 261.7 kB / 412.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.2908, allocations: 150.2 kB / 413 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.2909, allocations: 29.77 kB / 413 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.2909, allocations: 0 / 413 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.291, allocations: 34.56 kB / 413 MB, free: 14.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.291, allocations: 0 / 413 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002612/0.2913, allocations: 73.7 kB / 413.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.2913, allocations: 81.11 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.2915, allocations: 132.6 kB / 413.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.2915, allocations: 25.7 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.2916, allocations: 92.12 kB / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.2916, allocations: 3.906 kB / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.2916, allocations: 17.72 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2918, allocations: 310.8 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.493e-05/0.2918, allocations: 24.02 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.2919, allocations: 31.36 kB / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.132e-05/0.292, allocations: 55.36 kB / 413.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.292, allocations: 0 / 413.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001263/0.2921, allocations: 69.47 kB / 413.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2921, allocations: 8 kB / 413.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2922, allocations: 0 / 413.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2922, allocations: 3.938 kB / 413.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.2922, allocations: 11.98 kB / 414 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2923, allocations: 0 / 414 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.2923, allocations: 8.125 kB / 414 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.2923, allocations: 4 kB / 414 MB, free: 13.26 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 0.0001345/0.2924, allocations: 129.6 kB / 414.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.2925, allocations: 11.84 kB / 414.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.445e-05/0.2925, allocations: 8.25 kB / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.2925, allocations: 0 / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2925, allocations: 4 kB / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.2926, allocations: 85.09 kB / 414.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.2926, allocations: 0 / 414.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.2927, allocations: 15.98 kB / 414.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.2928, allocations: 0 / 414.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002229/0.293, allocations: 224 kB / 414.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002597/0.2933, allocations: 310 kB / 414.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.884e-05/0.2933, allocations: 16.36 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.416e-05/0.2934, allocations: 99.27 kB / 414.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of Backend: time 5.91e-07/0.2934, allocations: 0 / 414.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.2939, allocations: 94.33 kB / 414.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of SimCode: time 0.000673/0.2946, allocations: 0.6041 MB / 415.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of Templates: time 0.003522/0.2981, allocations: 0.5104 MB / 416.1 MB, free: 11.05 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1)