Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 63.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2867, allocations: 50.54 MB / 410 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002825/0.2896, allocations: 1.581 MB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009671/0.2906, allocations: 0.5414 MB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.2907, allocations: 7.938 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.152e-05/0.2907, allocations: 3.938 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.2909, allocations: 19.84 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.2913, allocations: 63.81 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2914, allocations: 47.8 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2915, allocations: 16.17 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.2916, allocations: 31.84 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.946e-05/0.2917, allocations: 19.86 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.2918, allocations: 4 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.161e-05/0.2918, allocations: 12 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.2919, allocations: 11.94 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.2919, allocations: 31.78 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.2921, allocations: 63.73 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2921, allocations: 0 / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2921, allocations: 0 / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2921, allocations: 0 / 412.4 MB, free: 15.1 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.0004574/0.2926, allocations: 376.3 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.2927, allocations: 8.031 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.2928, allocations: 28.73 kB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.2931, allocations: 200.6 kB / 413 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.2932, allocations: 8.359 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.2932, allocations: 11.92 kB / 413 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.2935, allocations: 113.9 kB / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2935, allocations: 0 / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2935, allocations: 4 kB / 413.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.2935, allocations: 4 kB / 413.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.506e-05/0.2936, allocations: 23.92 kB / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.294, allocations: 278.6 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.2941, allocations: 67.78 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.051e-05/0.2942, allocations: 34.62 kB / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.2942, allocations: 7.984 kB / 413.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.2943, allocations: 34.5 kB / 413.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2943, allocations: 0 / 413.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002863/0.2945, allocations: 85.52 kB / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.2946, allocations: 103.2 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2948, allocations: 149.8 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2948, allocations: 25.7 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.2949, allocations: 92.14 kB / 414 MB, free: 13.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.2949, allocations: 7.844 kB / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.2949, allocations: 25.64 kB / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2951, allocations: 318.8 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.024e-05/0.2951, allocations: 11.98 kB / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.193e-05/0.2952, allocations: 39.42 kB / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.2953, allocations: 47.36 kB / 414.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2953, allocations: 0 / 414.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001457/0.2954, allocations: 73.47 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2955, allocations: 6.969 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2955, allocations: 0 / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2955, allocations: 4 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.2956, allocations: 7.984 kB / 414.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.2956, allocations: 4 kB / 414.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.2957, allocations: 11.88 kB / 414.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.2957, allocations: 8.125 kB / 414.6 MB, free: 12.62 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.663e-05/0.2958, allocations: 121.8 kB / 414.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.2958, allocations: 7.906 kB / 414.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.2959, allocations: 11.88 kB / 414.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2959, allocations: 0 / 414.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2959, allocations: 4 kB / 414.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.699e-05/0.296, allocations: 100.9 kB / 414.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.296, allocations: 0 / 414.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.2961, allocations: 4 kB / 414.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.2961, allocations: 8 kB / 414.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000274/0.2964, allocations: 295.5 kB / 415.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000294/0.2967, allocations: 397.3 kB / 415.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.813e-05/0.2968, allocations: 15.94 kB / 415.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.323e-05/0.2969, allocations: 118.8 kB / 415.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of Backend: time 5.71e-07/0.2969, allocations: 0 / 415.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005779/0.2975, allocations: 94.58 kB / 415.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006456/0.2981, allocations: 0.6229 MB / 416.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of Templates: time 0.003127/0.3013, allocations: 0.7394 MB / 417.1 MB, free: 10.01 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1)