Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 104.8 kB / 17.74 MB, free: 5.316 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.001569/0.001569, allocations: 194.9 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.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 55.92 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.307, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002952/0.31, allocations: 1.591 MB / 403 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008584/0.3109, allocations: 490.6 kB / 403.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.373e-05/0.311, allocations: 0 / 403.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.87e-05/0.311, allocations: 7.875 kB / 403.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.3112, allocations: 11.92 kB / 403.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.3115, allocations: 51.83 kB / 403.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.3116, allocations: 51.78 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.3117, allocations: 16.17 kB / 403.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.573e-05/0.3117, allocations: 23.86 kB / 403.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.3118, allocations: 15.88 kB / 403.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.3118, allocations: 4 kB / 403.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.3119, allocations: 4 kB / 403.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.3119, allocations: 19.91 kB / 403.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.312, allocations: 31.8 kB / 403.7 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.3121, allocations: 55.75 kB / 403.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3121, allocations: 0 / 403.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3121, allocations: 0 / 403.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3121, allocations: 0 / 403.8 MB, free: 6.508 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004823/0.3126, allocations: 380.3 kB / 404.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3126, allocations: 11.89 kB / 404.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.3127, allocations: 8.844 kB / 404.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.3129, allocations: 204 kB / 404.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.313, allocations: 8.312 kB / 404.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.313, allocations: 384 / 404.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.3133, allocations: 118 kB / 404.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3133, allocations: 4 kB / 404.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3133, allocations: 3.984 kB / 404.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.3133, allocations: 4 kB / 404.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.3134, allocations: 23.92 kB / 404.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.3137, allocations: 274.5 kB / 404.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.3139, allocations: 67.8 kB / 404.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.3139, allocations: 30.62 kB / 404.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.314, allocations: 7.984 kB / 404.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.314, allocations: 38.56 kB / 404.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.314, allocations: 0 / 404.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002791/0.3143, allocations: 89.44 kB / 405 MB, free: 5.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.162e-05/0.3144, allocations: 102.8 kB / 405.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3145, allocations: 145.8 kB / 405.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3145, allocations: 26.08 kB / 405.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.3146, allocations: 96.03 kB / 405.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.3146, allocations: 4 kB / 405.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.3147, allocations: 17.72 kB / 405.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3148, allocations: 318.8 kB / 405.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.3148, allocations: 8 kB / 405.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-05/0.3149, allocations: 35.42 kB / 405.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.567e-05/0.315, allocations: 55.3 kB / 405.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.315, allocations: 0 / 405.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001428/0.3152, allocations: 81.55 kB / 405.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3152, allocations: 4 kB / 405.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3152, allocations: 4 kB / 405.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3152, allocations: 0 / 405.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.3153, allocations: 8 kB / 405.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3153, allocations: 0 / 405.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.3154, allocations: 11.92 kB / 405.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3154, allocations: 0 / 405.9 MB, free: 4.062 MB / 318.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.505e-05/0.3155, allocations: 121.8 kB / 406 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.3155, allocations: 11.94 kB / 406.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.3156, allocations: 15.86 kB / 406.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3156, allocations: 0 / 406.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3156, allocations: 0 / 406.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.3157, allocations: 89 kB / 406.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.3157, allocations: 8 kB / 406.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.3158, allocations: 4 kB / 406.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.3158, allocations: 11.88 kB / 406.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002469/0.3161, allocations: 307.3 kB / 406.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003424/0.3164, allocations: 389.3 kB / 406.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.944e-05/0.3165, allocations: 24.02 kB / 406.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.335e-05/0.3166, allocations: 114 kB / 407 MB, free: 2.934 MB / 318.1 MB Notification: Performance of Backend: time 7.81e-07/0.3166, allocations: 0 / 407 MB, free: 2.934 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005075/0.3171, allocations: 90.39 kB / 407.1 MB, free: 2.84 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005999/0.3177, allocations: 0.6206 MB / 407.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of Templates: time 0.002838/0.3206, allocations: 0.6803 MB / 408.4 MB, free: 1.504 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1)