Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 108.8 kB / 17.75 MB, free: 5.199 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.001218/0.001218, allocations: 183.1 kB / 18.68 MB, free: 4.277 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.434/1.434, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 47.92 kB / 352 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3927, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002909/0.3957, allocations: 1.556 MB / 403 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008254/0.3965, allocations: 0.4908 MB / 403.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.3966, allocations: 0 / 403.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.3966, allocations: 3.938 kB / 403.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.33e-05/0.3967, allocations: 19.84 kB / 403.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.3969, allocations: 47.83 kB / 403.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.671e-05/0.397, allocations: 51.8 kB / 403.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.469e-05/0.3971, allocations: 11.98 kB / 403.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.073e-05/0.3971, allocations: 19.92 kB / 403.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.354e-05/0.3972, allocations: 23.86 kB / 403.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.3972, allocations: 4 kB / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-06/0.3972, allocations: 0 / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.3972, allocations: 11.98 kB / 403.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.3973, allocations: 27.81 kB / 403.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.71e-05/0.3974, allocations: 63.47 kB / 403.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.3974, allocations: 0 / 403.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.3974, allocations: 0 / 403.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.3974, allocations: 3.938 kB / 403.7 MB, free: 6.551 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.0003571/0.3978, allocations: 379.1 kB / 404.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3978, allocations: 12.02 kB / 404.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.3979, allocations: 8.891 kB / 404.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.3982, allocations: 200.1 kB / 404.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3982, allocations: 4.375 kB / 404.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.3982, allocations: 4.375 kB / 404.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.3985, allocations: 109.3 kB / 404.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3985, allocations: 0 / 404.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3985, allocations: 0 / 404.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3985, allocations: 8 kB / 404.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.335e-05/0.3986, allocations: 19.92 kB / 404.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.3989, allocations: 265.7 kB / 404.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.314e-05/0.399, allocations: 49.14 kB / 404.8 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.399, allocations: 17.78 kB / 404.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.3991, allocations: 3.984 kB / 404.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.3991, allocations: 34.56 kB / 404.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3991, allocations: 0 / 404.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002422/0.3994, allocations: 65.86 kB / 404.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.3994, allocations: 85.11 kB / 405 MB, free: 5.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3996, allocations: 138.1 kB / 405.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3996, allocations: 25.7 kB / 405.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.3996, allocations: 84.14 kB / 405.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.3997, allocations: 7.984 kB / 405.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.3997, allocations: 17.67 kB / 405.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3998, allocations: 314.8 kB / 405.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.568e-05/0.3999, allocations: 19.92 kB / 405.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.947e-05/0.3999, allocations: 17.72 kB / 405.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.71e-05/0.4, allocations: 25.7 kB / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4, allocations: 3.938 kB / 405.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001107/0.4001, allocations: 61.7 kB / 405.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.4001, allocations: 8 kB / 405.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.4002, allocations: 0 / 405.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.4002, allocations: 0 / 405.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.4002, allocations: 4 kB / 405.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4003, allocations: 3.938 kB / 405.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.56e-05/0.4003, allocations: 4 kB / 405.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4003, allocations: 3.984 kB / 405.7 MB, free: 4.316 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.713e-05/0.4004, allocations: 121.8 kB / 405.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.4005, allocations: 11.98 kB / 405.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.4005, allocations: 11.88 kB / 405.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.4005, allocations: 3.984 kB / 405.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4005, allocations: 3.938 kB / 405.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.4006, allocations: 93.05 kB / 405.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.4006, allocations: 4 kB / 405.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.4007, allocations: 0 / 405.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.4007, allocations: 7.938 kB / 405.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001757/0.4009, allocations: 216.2 kB / 406.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001865/0.4011, allocations: 302 kB / 406.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.115e-05/0.4012, allocations: 12 kB / 406.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.397e-05/0.4012, allocations: 114.1 kB / 406.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of Backend: time 4.61e-07/0.4012, allocations: 0 / 406.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004307/0.4017, allocations: 90.39 kB / 406.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005345/0.4022, allocations: 0.6164 MB / 407.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of Templates: time 0.002713/0.405, allocations: 0.5639 MB / 407.8 MB, free: 2.062 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1)