Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001231/0.001231, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.313/1.313, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 47.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2962, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.00269/0.2989, allocations: 1.506 MB / 402.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003702/0.2993, allocations: 135.5 kB / 403 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.2994, allocations: 3.938 kB / 403 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.203e-05/0.2994, allocations: 3.938 kB / 403 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.2995, allocations: 7.922 kB / 403 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.2998, allocations: 35.91 kB / 403.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.609e-05/0.2999, allocations: 27.92 kB / 403.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.179e-05/0.3, allocations: 8 kB / 403.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.218e-05/0.3, allocations: 19.91 kB / 403.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.3, allocations: 15.88 kB / 403.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.3001, allocations: 0 / 403.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.3001, allocations: 7.938 kB / 403.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.3001, allocations: 11.98 kB / 403.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.3002, allocations: 19.81 kB / 403.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.3003, allocations: 43.81 kB / 403.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3003, allocations: 0 / 403.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3003, allocations: 4 kB / 403.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.3003, allocations: 0 / 403.2 MB, free: 7.051 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.0004211/0.3007, allocations: 360.4 kB / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3008, allocations: 8.031 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.3008, allocations: 8.844 kB / 403.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3011, allocations: 192.1 kB / 403.8 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.3011, allocations: 4.375 kB / 403.8 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.3011, allocations: 384 / 403.8 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.3013, allocations: 101.6 kB / 403.9 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3013, allocations: 4.188 kB / 403.9 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3014, allocations: 3.938 kB / 403.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3014, allocations: 0 / 403.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.262e-05/0.3014, allocations: 11.98 kB / 403.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.3017, allocations: 261.8 kB / 404.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.589e-05/0.3018, allocations: 37.22 kB / 404.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.6e-05/0.3019, allocations: 25.7 kB / 404.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.3019, allocations: 0 / 404.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.3019, allocations: 38.44 kB / 404.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.302, allocations: 4 kB / 404.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002249/0.3022, allocations: 65.52 kB / 404.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.3022, allocations: 81.11 kB / 404.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3024, allocations: 130.1 kB / 404.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.3024, allocations: 25.7 kB / 404.6 MB, free: 5.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.3024, allocations: 88.14 kB / 404.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.3024, allocations: 256 / 404.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.3025, allocations: 21.7 kB / 404.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.3026, allocations: 314.8 kB / 405 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-05/0.3026, allocations: 4 kB / 405 MB, free: 5.047 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.3027, allocations: 25.7 kB / 405 MB, free: 5.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.042e-05/0.3028, allocations: 25.77 kB / 405 MB, free: 4.984 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3028, allocations: 3.938 kB / 405 MB, free: 4.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001135/0.3029, allocations: 57.53 kB / 405.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3029, allocations: 4 kB / 405.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3029, allocations: 0 / 405.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3029, allocations: 7.938 kB / 405.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.303, allocations: 7.984 kB / 405.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.303, allocations: 0 / 405.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/0.3031, allocations: 4.062 kB / 405.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.3031, allocations: 7.938 kB / 405.1 MB, free: 4.887 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: 2 (sample1.y,step.y) * 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 7.145e-05/0.3031, allocations: 113.8 kB / 405.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.3032, allocations: 15.83 kB / 405.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.3032, allocations: 3.875 kB / 405.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3032, allocations: 0 / 405.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3032, allocations: 8 kB / 405.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.3033, allocations: 89.09 kB / 405.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.3033, allocations: 0 / 405.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.3034, allocations: 4 kB / 405.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.3034, allocations: 4 kB / 405.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001632/0.3036, allocations: 212.1 kB / 405.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001898/0.3038, allocations: 306.1 kB / 405.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.724e-05/0.3038, allocations: 7.984 kB / 405.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.397e-05/0.3039, allocations: 114.3 kB / 406 MB, free: 3.973 MB / 318.1 MB Notification: Performance of Backend: time 2.51e-07/0.3039, allocations: 0 / 406 MB, free: 3.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004312/0.3043, allocations: 90.28 kB / 406.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004952/0.3048, allocations: 0.5883 MB / 406.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of Templates: time 0.002562/0.3074, allocations: 470.7 kB / 407.1 MB, free: 2.785 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1)