Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001602/0.001602, allocations: 190.6 kB / 18.68 MB, free: 4.41 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.395/1.395, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 43.94 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2875, allocations: 49.44 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002926/0.2904, allocations: 1.611 MB / 403 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009604/0.2914, allocations: 498.6 kB / 403.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.2915, allocations: 7.938 kB / 403.5 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.371e-05/0.2916, allocations: 7.922 kB / 403.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.2917, allocations: 15.86 kB / 403.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.2919, allocations: 51.81 kB / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2921, allocations: 59.78 kB / 403.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.2922, allocations: 15.98 kB / 403.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.083e-05/0.2922, allocations: 31.84 kB / 403.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.2923, allocations: 27.86 kB / 403.7 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.2923, allocations: 7.938 kB / 403.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.2924, allocations: 4 kB / 403.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.2924, allocations: 11.94 kB / 403.8 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.2925, allocations: 27.8 kB / 403.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.2926, allocations: 63.73 kB / 403.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2926, allocations: 4 kB / 403.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2926, allocations: 0 / 403.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.2926, allocations: 0 / 403.8 MB, free: 6.445 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.0004596/0.2931, allocations: 380.3 kB / 404.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2931, allocations: 11.97 kB / 404.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.2932, allocations: 12.75 kB / 404.2 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.2934, allocations: 210.1 kB / 404.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2935, allocations: 384 / 404.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.2935, allocations: 12.12 kB / 404.5 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.2938, allocations: 134.7 kB / 404.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2938, allocations: 0 / 404.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.2938, allocations: 0 / 404.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2938, allocations: 0 / 404.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.2939, allocations: 27.92 kB / 404.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.2943, allocations: 295.4 kB / 404.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.2944, allocations: 94.36 kB / 405 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.541e-05/0.2945, allocations: 51.55 kB / 405.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.2945, allocations: 0 / 405.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2945, allocations: 46.5 kB / 405.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.2945, allocations: 0 / 405.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002861/0.2948, allocations: 97.5 kB / 405.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.2949, allocations: 136.5 kB / 405.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.295, allocations: 143.9 kB / 405.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.2951, allocations: 26.2 kB / 405.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.2951, allocations: 96.14 kB / 405.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.2951, allocations: 3.906 kB / 405.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.2952, allocations: 21.7 kB / 405.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2953, allocations: 322.8 kB / 405.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.2954, allocations: 11.98 kB / 405.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.752e-05/0.2954, allocations: 48.28 kB / 406 MB, free: 4.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.2955, allocations: 56.22 kB / 406 MB, free: 3.934 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2955, allocations: 3.938 kB / 406 MB, free: 3.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001583/0.2957, allocations: 89.45 kB / 406.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2957, allocations: 8 kB / 406.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2957, allocations: 0 / 406.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2957, allocations: 0 / 406.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.403e-05/0.2958, allocations: 12 kB / 406.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.2959, allocations: 3.984 kB / 406.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.2959, allocations: 7.938 kB / 406.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2959, allocations: 4 kB / 406.2 MB, free: 3.801 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 7.631e-05/0.296, allocations: 121.9 kB / 406.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.296, allocations: 7.906 kB / 406.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.2961, allocations: 15.86 kB / 406.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2961, allocations: 4 kB / 406.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2961, allocations: 0 / 406.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.149e-05/0.2962, allocations: 100.8 kB / 406.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.2962, allocations: 4 kB / 406.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.2963, allocations: 7.984 kB / 406.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.2963, allocations: 8 kB / 406.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002776/0.2966, allocations: 398.6 kB / 406.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002792/0.2969, allocations: 480.6 kB / 407.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.488e-05/0.297, allocations: 23.92 kB / 407.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.753e-05/0.297, allocations: 114.4 kB / 407.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of Backend: time 2.6e-07/0.297, allocations: 0 / 407.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005992/0.2977, allocations: 102.3 kB / 407.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005763/0.2982, allocations: 0.6404 MB / 408.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of Templates: time 0.002821/0.3011, allocations: 0.7655 MB / 408.9 MB, free: 0.9336 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1)