Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 109.2 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.001235/0.001235, 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.413/1.413, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 51.92 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2674, allocations: 49.42 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.00259/0.2701, allocations: 1.524 MB / 402.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003537/0.2704, allocations: 139.5 kB / 403.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.2705, allocations: 4 kB / 403.1 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.3e-05/0.2706, allocations: 3.938 kB / 403.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.2707, allocations: 11.94 kB / 403.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.2709, allocations: 43.83 kB / 403.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.79e-05/0.271, allocations: 27.92 kB / 403.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.2711, allocations: 12 kB / 403.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.27e-05/0.2712, allocations: 15.92 kB / 403.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.2712, allocations: 15.88 kB / 403.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2712, allocations: 0 / 403.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.2712, allocations: 4 kB / 403.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.2713, allocations: 23.91 kB / 403.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.2713, allocations: 15.88 kB / 403.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2715, allocations: 47.77 kB / 403.3 MB, free: 7.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2715, allocations: 3.984 kB / 403.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2715, allocations: 0 / 403.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2715, allocations: 0 / 403.3 MB, free: 7.008 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004447/0.2719, allocations: 368.3 kB / 403.6 MB, free: 6.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.272, allocations: 8.031 kB / 403.6 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.272, allocations: 8.844 kB / 403.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.2722, allocations: 200.1 kB / 403.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2722, allocations: 4.375 kB / 403.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.2723, allocations: 4.375 kB / 403.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.2725, allocations: 109.6 kB / 404 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.2726, allocations: 4.188 kB / 404 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2726, allocations: 7.938 kB / 404 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2726, allocations: 0 / 404 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.387e-05/0.2727, allocations: 19.92 kB / 404 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.273, allocations: 249.8 kB / 404.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.2732, allocations: 150.2 kB / 404.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.934e-05/0.2732, allocations: 25.78 kB / 404.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.2733, allocations: 3.984 kB / 404.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.2733, allocations: 34.56 kB / 404.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.2733, allocations: 0 / 404.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000235/0.2735, allocations: 85.5 kB / 404.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.2736, allocations: 85.05 kB / 404.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.2737, allocations: 133.6 kB / 404.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.2737, allocations: 29.64 kB / 404.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.2738, allocations: 96.03 kB / 404.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.125e-06/0.2738, allocations: 0 / 404.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.2738, allocations: 17.72 kB / 404.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2739, allocations: 319 kB / 405.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.885e-05/0.274, allocations: 7.984 kB / 405.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/0.274, allocations: 39.36 kB / 405.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.073e-05/0.2741, allocations: 47.42 kB / 405.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2741, allocations: 0 / 405.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001222/0.2743, allocations: 69.41 kB / 405.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2743, allocations: 8 kB / 405.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2743, allocations: 0 / 405.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2743, allocations: 0 / 405.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/0.2744, allocations: 20.11 kB / 405.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2744, allocations: 4 kB / 405.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.2744, allocations: 0 / 405.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.2745, allocations: 4 kB / 405.4 MB, free: 4.594 MB / 318.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: 4 (sample1.y,assignClock.y,assignClock.u,step.y) * 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 7.647e-05/0.2745, allocations: 121.8 kB / 405.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.2746, allocations: 11.84 kB / 405.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.2746, allocations: 12.25 kB / 405.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2746, allocations: 3.938 kB / 405.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2746, allocations: 0 / 405.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.2747, allocations: 93.03 kB / 405.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.2747, allocations: 4 kB / 405.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.224e-05/0.2748, allocations: 0 / 405.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.2748, allocations: 7.984 kB / 405.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001908/0.275, allocations: 216.1 kB / 405.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002103/0.2752, allocations: 318 kB / 406.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.323e-05/0.2753, allocations: 15.98 kB / 406.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.918e-05/0.2754, allocations: 99.27 kB / 406.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of Backend: time 3.1e-07/0.2754, allocations: 0 / 406.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004157/0.2758, allocations: 97.61 kB / 406.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005364/0.2763, allocations: 0.6038 MB / 407 MB, free: 2.898 MB / 318.1 MB Notification: Performance of Templates: time 0.002514/0.2789, allocations: 0.5069 MB / 407.5 MB, free: 2.395 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1)