Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.001449/0.001449, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.453/1.453, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 43.92 kB / 352 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2921, allocations: 49.44 MB / 401.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003388/0.2956, allocations: 1.873 MB / 403.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.2974, allocations: 1.126 MB / 404.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.2975, allocations: 7.938 kB / 404.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.2979, allocations: 67.67 kB / 404.5 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.2982, allocations: 95.58 kB / 404.6 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007117/0.2989, allocations: 260 kB / 404.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.2991, allocations: 163.5 kB / 405 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2992, allocations: 37.47 kB / 405 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2994, allocations: 67.7 kB / 405.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.2995, allocations: 83.67 kB / 405.2 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.2995, allocations: 8 kB / 405.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.2997, allocations: 67.95 kB / 405.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.392e-05/0.2998, allocations: 55.77 kB / 405.3 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.2999, allocations: 79.47 kB / 405.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.3002, allocations: 228.4 kB / 405.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3002, allocations: 0 / 405.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3002, allocations: 0 / 405.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3002, allocations: 0 / 405.6 MB, free: 4.719 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007285/0.301, allocations: 0.535 MB / 406.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.301, allocations: 15.89 kB / 406.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.3011, allocations: 24.66 kB / 406.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.3015, allocations: 287.6 kB / 406.4 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3015, allocations: 4.375 kB / 406.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.3015, allocations: 12.12 kB / 406.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.3019, allocations: 159.5 kB / 406.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3019, allocations: 0 / 406.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3019, allocations: 0 / 406.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.3019, allocations: 4 kB / 406.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.302, allocations: 35.95 kB / 406.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.3026, allocations: 382.4 kB / 407 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.3028, allocations: 119.9 kB / 407.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.274e-05/0.3029, allocations: 50.56 kB / 407.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.303, allocations: 0 / 407.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.3031, allocations: 79.31 kB / 407.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.3032, allocations: 0 / 407.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003975/0.3036, allocations: 157.3 kB / 407.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.3036, allocations: 158.2 kB / 407.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.304, allocations: 326.7 kB / 407.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.304, allocations: 25.7 kB / 407.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.3041, allocations: 124 kB / 408.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.3041, allocations: 23.73 kB / 408.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.3042, allocations: 33.95 kB / 408.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3043, allocations: 338.7 kB / 408.4 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.862e-05/0.3044, allocations: 27.92 kB / 408.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.3045, allocations: 86.84 kB / 408.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.3047, allocations: 84.22 kB / 408.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3047, allocations: 0 / 408.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002355/0.305, allocations: 121.4 kB / 408.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.305, allocations: 4 kB / 408.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.305, allocations: 0 / 408.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.305, allocations: 8.125 kB / 408.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3051, allocations: 19.98 kB / 408.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3051, allocations: 0 / 408.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.3052, allocations: 15.89 kB / 408.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.3053, allocations: 7.938 kB / 408.8 MB, free: 1.156 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: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001456/0.3054, allocations: 154.1 kB / 409 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.3055, allocations: 23.72 kB / 409 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.3055, allocations: 29.7 kB / 409 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3055, allocations: 4 kB / 409 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3055, allocations: 0 / 409 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3057, allocations: 124.8 kB / 409.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.3057, allocations: 3.938 kB / 409.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.3058, allocations: 4 kB / 409.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.3059, allocations: 11.98 kB / 409.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000344/0.3062, allocations: 351.5 kB / 409.5 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003834/0.3066, allocations: 457 kB / 409.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001112/0.3067, allocations: 47.91 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.307, allocations: 237.9 kB / 410.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Backend: time 3.71e-07/0.307, allocations: 4 kB / 410.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.3086, allocations: 462.6 kB / 410.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009198/0.3095, allocations: 0.8104 MB / 411.5 MB, free: 14.53 MB / 334.1 MB Notification: Performance of Templates: time 0.007024/0.3165, allocations: 2.932 MB / 414.4 MB, free: 11.62 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1)