Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 110.1 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001365, allocations: 207.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 59.91 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3201, allocations: 50.55 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002945/0.3231, allocations: 1.577 MB / 411.5 MB, free: 40 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3241, allocations: 0.5337 MB / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.676e-05/0.3243, allocations: 4 kB / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.139e-05/0.3243, allocations: 7.875 kB / 412.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.3245, allocations: 7.922 kB / 412.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.3248, allocations: 67.81 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.325, allocations: 47.78 kB / 412.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3251, allocations: 16.19 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.3252, allocations: 39.8 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.3253, allocations: 23.84 kB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3253, allocations: 4 kB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.294e-05/0.3254, allocations: 4 kB / 412.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.3254, allocations: 15.92 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.3255, allocations: 27.81 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.3256, allocations: 59.73 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3257, allocations: 0 / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3257, allocations: 0 / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3257, allocations: 4 kB / 412.4 MB, free: 15.18 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.0005099/0.3262, allocations: 384.3 kB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3262, allocations: 8.031 kB / 412.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.3264, allocations: 24.73 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.3267, allocations: 203.8 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3267, allocations: 8.375 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.3268, allocations: 7.938 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.327, allocations: 113.9 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3271, allocations: 0 / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3271, allocations: 0 / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3271, allocations: 4 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.735e-05/0.3272, allocations: 27.92 kB / 413.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.3275, allocations: 270.6 kB / 413.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.3276, allocations: 71.8 kB / 413.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.532e-05/0.3277, allocations: 34.62 kB / 413.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3277, allocations: 0 / 413.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3278, allocations: 38.5 kB / 413.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.3278, allocations: 0 / 413.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002753/0.3281, allocations: 89.5 kB / 413.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.3281, allocations: 102.8 kB / 413.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.3283, allocations: 149.8 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.3283, allocations: 25.7 kB / 413.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.3283, allocations: 88.14 kB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.3284, allocations: 3.906 kB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.3284, allocations: 22.09 kB / 414 MB, free: 13.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3285, allocations: 326.8 kB / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.255e-05/0.3286, allocations: 4 kB / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.3286, allocations: 39.36 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.857e-05/0.3287, allocations: 43.42 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3287, allocations: 11.88 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001628/0.3289, allocations: 69.61 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3289, allocations: 8 kB / 414.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3289, allocations: 3.984 kB / 414.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.329, allocations: 8.062 kB / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.3291, allocations: 11.98 kB / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3291, allocations: 4 kB / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.3291, allocations: 7.875 kB / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.3291, allocations: 4 kB / 414.6 MB, free: 12.7 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 8.48e-05/0.3292, allocations: 125.7 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.3293, allocations: 7.906 kB / 414.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.3293, allocations: 11.88 kB / 414.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3293, allocations: 0 / 414.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3293, allocations: 8 kB / 414.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.3294, allocations: 96.94 kB / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.3294, allocations: 4 kB / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.3295, allocations: 7.984 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.3295, allocations: 0 / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002364/0.3298, allocations: 295.5 kB / 415.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002487/0.33, allocations: 401.2 kB / 415.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.686e-05/0.3301, allocations: 15.98 kB / 415.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.009e-05/0.3302, allocations: 114.8 kB / 415.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of Backend: time 6.21e-07/0.3302, allocations: 4 kB / 415.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005665/0.3308, allocations: 102.3 kB / 415.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005814/0.3314, allocations: 0.609 MB / 416.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of Templates: time 0.003334/0.3347, allocations: 0.6803 MB / 417 MB, free: 10.14 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1)