Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001286, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3075, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003037/0.3106, allocations: 1.448 MB / 411.4 MB, free: 152 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002826/0.3109, allocations: 95.69 kB / 411.5 MB, free: 56 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.3109, allocations: 0 / 411.5 MB, free: 56 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.311, allocations: 7.922 kB / 411.5 MB, free: 48 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.311, allocations: 3.938 kB / 411.5 MB, free: 44 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.3113, allocations: 19.98 kB / 411.5 MB, free: 24 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.966e-05/0.3114, allocations: 23.92 kB / 411.5 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3115, allocations: 19.97 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.3116, allocations: 7.938 kB / 411.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.168e-05/0.3116, allocations: 11.92 kB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.3117, allocations: 4 kB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-06/0.3117, allocations: 0 / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.3117, allocations: 11.94 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.3117, allocations: 11.94 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.004e-05/0.3118, allocations: 27.89 kB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3118, allocations: 4 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3119, allocations: 0 / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3119, allocations: 3.938 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004329/0.3123, allocations: 343.3 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3124, allocations: 8.031 kB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.3124, allocations: 4.938 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.3127, allocations: 176.3 kB / 412.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3127, allocations: 4.312 kB / 412.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.3127, allocations: 8.375 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.3131, allocations: 103.9 kB / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3131, allocations: 192 / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3131, allocations: 7.922 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3131, allocations: 0 / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.391e-05/0.3132, allocations: 23.98 kB / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.3134, allocations: 161.5 kB / 412.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.3135, allocations: 50.55 kB / 412.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.513e-05/0.3136, allocations: 28.91 kB / 412.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.3136, allocations: 0 / 412.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3137, allocations: 34.56 kB / 412.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3137, allocations: 0 / 412.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002236/0.3139, allocations: 81.45 kB / 412.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.3139, allocations: 51.41 kB / 412.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.36e-05/0.314, allocations: 105.8 kB / 412.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.314, allocations: 25.7 kB / 412.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.3141, allocations: 84.14 kB / 412.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.3141, allocations: 0 / 412.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.3141, allocations: 21.72 kB / 412.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3143, allocations: 318.8 kB / 413.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.3143, allocations: 0 / 413.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.3143, allocations: 27.44 kB / 413.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.874e-05/0.3144, allocations: 43.36 kB / 413.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3144, allocations: 0 / 413.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.197e-05/0.3144, allocations: 49.89 kB / 413.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3145, allocations: 7.125 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3145, allocations: 4 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3145, allocations: 7.922 kB / 413.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.6e-05/0.3146, allocations: 12.06 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.3146, allocations: 11.98 kB / 413.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.3146, allocations: 1.266 kB / 413.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.3146, allocations: 4 kB / 413.4 MB, free: 13.88 MB / 334.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: 3 (assignClock1.y,assignClock1.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 8.638e-05/0.3147, allocations: 113.8 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.3147, allocations: 7.906 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.453e-05/0.3148, allocations: 11.84 kB / 413.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3148, allocations: 0 / 413.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.3148, allocations: 3.984 kB / 413.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.3148, allocations: 85.11 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.3148, allocations: 0 / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.727e-05/0.3149, allocations: 0 / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-06/0.3149, allocations: 0 / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001599/0.315, allocations: 144.8 kB / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001824/0.3152, allocations: 238.6 kB / 414 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.336e-05/0.3153, allocations: 15.98 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.953e-05/0.3153, allocations: 83.28 kB / 414.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Backend: time 4.61e-07/0.3153, allocations: 0 / 414.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.3157, allocations: 100.5 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004444/0.3161, allocations: 0.5494 MB / 414.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of Templates: time 0.002334/0.3185, allocations: 309.2 kB / 415 MB, free: 12.12 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1)