Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 110.5 kB / 17.75 MB, free: 5.309 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.001171/0.001171, allocations: 179 kB / 18.67 MB, free: 4.395 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.378/1.378, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 43.92 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2775, allocations: 49.43 MB / 401.4 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002722/0.2803, allocations: 1.617 MB / 403 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008753/0.2812, allocations: 0.5064 MB / 403.5 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.407e-05/0.2813, allocations: 7.938 kB / 403.5 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.41e-05/0.2814, allocations: 3.938 kB / 403.5 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.2815, allocations: 15.86 kB / 403.6 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.2818, allocations: 59.77 kB / 403.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2819, allocations: 55.77 kB / 403.7 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.282, allocations: 20 kB / 403.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.2821, allocations: 27.86 kB / 403.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.2822, allocations: 27.84 kB / 403.7 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.2822, allocations: 4 kB / 403.8 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.2822, allocations: 4 kB / 403.8 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.2823, allocations: 23.86 kB / 403.8 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.2823, allocations: 35.69 kB / 403.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.2824, allocations: 67.72 kB / 403.9 MB, free: 6.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2825, allocations: 0 / 403.9 MB, free: 6.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2825, allocations: 0 / 403.9 MB, free: 6.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.2825, allocations: 0 / 403.9 MB, free: 6.523 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004855/0.283, allocations: 380.4 kB / 404.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.283, allocations: 19.88 kB / 404.3 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.2831, allocations: 8.844 kB / 404.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.2833, allocations: 219.6 kB / 404.5 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2834, allocations: 4.375 kB / 404.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.2834, allocations: 4.375 kB / 404.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.2837, allocations: 135 kB / 404.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2837, allocations: 4 kB / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.2837, allocations: 7.984 kB / 404.6 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.2837, allocations: 4 kB / 404.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.288e-05/0.2838, allocations: 35.91 kB / 404.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.2842, allocations: 295.2 kB / 405 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.2843, allocations: 94.42 kB / 405.1 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.999e-05/0.2844, allocations: 47.48 kB / 405.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.2844, allocations: 4 kB / 405.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.2845, allocations: 34.5 kB / 405.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.2845, allocations: 0 / 405.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002936/0.2848, allocations: 102 kB / 405.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.2849, allocations: 136.4 kB / 405.4 MB, free: 4.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.285, allocations: 150.5 kB / 405.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.285, allocations: 25.7 kB / 405.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.2851, allocations: 92.14 kB / 405.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.2851, allocations: 0 / 405.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.2851, allocations: 25.61 kB / 405.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.2853, allocations: 322.9 kB / 406 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-05/0.2853, allocations: 11.98 kB / 406 MB, free: 4.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.2854, allocations: 45.14 kB / 406 MB, free: 4.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.2855, allocations: 72.95 kB / 406.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2855, allocations: 0 / 406.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001686/0.2857, allocations: 85.61 kB / 406.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2857, allocations: 19.09 kB / 406.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.2857, allocations: 3.938 kB / 406.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2858, allocations: 0 / 406.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.806e-05/0.2859, allocations: 12 kB / 406.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2859, allocations: 3.984 kB / 406.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.2859, allocations: 8 kB / 406.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.2859, allocations: 4 kB / 406.2 MB, free: 3.82 MB / 318.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 8.014e-05/0.286, allocations: 121.8 kB / 406.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.2861, allocations: 11.91 kB / 406.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.2861, allocations: 15.86 kB / 406.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2861, allocations: 0 / 406.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2861, allocations: 0 / 406.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.2862, allocations: 97 kB / 406.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.2862, allocations: 3.938 kB / 406.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.2863, allocations: 7.984 kB / 406.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.2864, allocations: 3.938 kB / 406.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002828/0.2866, allocations: 390.7 kB / 406.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002942/0.2869, allocations: 484.6 kB / 407.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.484e-05/0.287, allocations: 23.98 kB / 407.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.367e-05/0.2871, allocations: 118 kB / 407.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of Backend: time 3e-07/0.2871, allocations: 0 / 407.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006344/0.2878, allocations: 101.7 kB / 407.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006464/0.2884, allocations: 0.659 MB / 408.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of Templates: time 0.003171/0.2916, allocations: 0.875 MB / 409.1 MB, free: 0.8438 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1)