Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.001231, allocations: 106.3 kB / 17.74 MB, free: 5.355 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.00134/0.00134, allocations: 185.4 kB / 18.68 MB, free: 4.43 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.462/1.462, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 47.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3974, allocations: 49.44 MB / 401.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003352/0.4008, allocations: 1.552 MB / 403 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009069/0.4018, allocations: 478.7 kB / 403.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.371e-05/0.4019, allocations: 0 / 403.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.176e-05/0.4019, allocations: 3.938 kB / 403.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.4021, allocations: 15.86 kB / 403.5 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.4024, allocations: 39.91 kB / 403.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.4025, allocations: 43.78 kB / 403.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.4026, allocations: 12 kB / 403.6 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.4027, allocations: 19.92 kB / 403.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.4028, allocations: 15.92 kB / 403.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.4028, allocations: 0 / 403.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.4028, allocations: 4 kB / 403.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.4029, allocations: 15.86 kB / 403.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.4029, allocations: 19.88 kB / 403.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.4031, allocations: 55.67 kB / 403.7 MB, free: 6.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.4031, allocations: 0 / 403.7 MB, free: 6.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4031, allocations: 4 kB / 403.7 MB, free: 6.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.4031, allocations: 4 kB / 403.7 MB, free: 6.734 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005922/0.4037, allocations: 371.1 kB / 404.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4038, allocations: 12.03 kB / 404.1 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.4038, allocations: 8.891 kB / 404.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.4041, allocations: 184.3 kB / 404.3 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.4041, allocations: 4.375 kB / 404.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.4042, allocations: 4.375 kB / 404.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.4044, allocations: 93.36 kB / 404.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4044, allocations: 0 / 404.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.4045, allocations: 4 kB / 404.4 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.4045, allocations: 4 kB / 404.4 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/0.4046, allocations: 11.98 kB / 404.4 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.405, allocations: 269.7 kB / 404.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.456e-05/0.4051, allocations: 41.22 kB / 404.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.4051, allocations: 21.7 kB / 404.7 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.4052, allocations: 7.938 kB / 404.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.4052, allocations: 38.56 kB / 404.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.4052, allocations: 0 / 404.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002607/0.4055, allocations: 65.56 kB / 404.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.4055, allocations: 77.11 kB / 404.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.4057, allocations: 134.1 kB / 405 MB, free: 5.188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.4057, allocations: 33.7 kB / 405 MB, free: 5.148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.4058, allocations: 88.12 kB / 405.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.4058, allocations: 3.938 kB / 405.1 MB, free: 5.055 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.4059, allocations: 21.67 kB / 405.2 MB, free: 5.027 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.406, allocations: 310.8 kB / 405.5 MB, free: 4.715 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/0.4061, allocations: 11.98 kB / 405.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.677e-05/0.4061, allocations: 25.7 kB / 405.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.792e-05/0.4062, allocations: 33.59 kB / 405.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4062, allocations: 0 / 405.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000115/0.4063, allocations: 53.67 kB / 405.6 MB, free: 4.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4064, allocations: 6.812 kB / 405.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4064, allocations: 3.984 kB / 405.6 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.4064, allocations: 8.125 kB / 405.6 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.4065, allocations: 7.938 kB / 405.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4065, allocations: 0 / 405.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.4066, allocations: 11.98 kB / 405.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.4066, allocations: 3.938 kB / 405.6 MB, free: 4.535 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 0.0001015/0.4067, allocations: 117.8 kB / 405.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.4067, allocations: 7.953 kB / 405.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.4068, allocations: 11.86 kB / 405.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4068, allocations: 0 / 405.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4068, allocations: 7.984 kB / 405.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.4069, allocations: 93.05 kB / 405.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.4069, allocations: 0 / 405.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.407, allocations: 4 kB / 405.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.407, allocations: 3.938 kB / 405.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001968/0.4072, allocations: 208.2 kB / 406.1 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002186/0.4074, allocations: 310.1 kB / 406.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.882e-05/0.4075, allocations: 11.94 kB / 406.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.86e-05/0.4076, allocations: 107.2 kB / 406.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of Backend: time 3.91e-07/0.4076, allocations: 3.938 kB / 406.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004446/0.408, allocations: 90.42 kB / 406.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005823/0.4086, allocations: 0.6087 MB / 407.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of Templates: time 0.002992/0.4116, allocations: 0.5111 MB / 407.7 MB, free: 2.352 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1)