Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001161, allocations: 115.1 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001314, allocations: 207.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2884, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002559/0.291, allocations: 1.433 MB / 411.4 MB, free: 152 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002878/0.2913, allocations: 103.7 kB / 411.5 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.2914, allocations: 0 / 411.5 MB, free: 48 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.2914, allocations: 0 / 411.5 MB, free: 48 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.714e-05/0.2915, allocations: 7.922 kB / 411.5 MB, free: 40 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.2917, allocations: 27.92 kB / 411.5 MB, free: 12 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.115e-05/0.2918, allocations: 24 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.2919, allocations: 11.91 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.142e-05/0.2919, allocations: 15.92 kB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.72e-05/0.292, allocations: 3.938 kB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.292, allocations: 4 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.292, allocations: 4 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.591e-05/0.292, allocations: 4 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.2921, allocations: 19.86 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.113e-05/0.2922, allocations: 31.89 kB / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2922, allocations: 0 / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2922, allocations: 0 / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.2922, allocations: 0 / 411.6 MB, free: 15.89 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.0004371/0.2926, allocations: 339.1 kB / 411.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2927, allocations: 11.97 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.2927, allocations: 8.938 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.293, allocations: 172.3 kB / 412.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.293, allocations: 8.375 kB / 412.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.293, allocations: 8.312 kB / 412.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.2933, allocations: 95.88 kB / 412.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2933, allocations: 192 / 412.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2933, allocations: 3.938 kB / 412.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2934, allocations: 0 / 412.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.866e-05/0.2934, allocations: 19.97 kB / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.2936, allocations: 157.7 kB / 412.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.2937, allocations: 46.56 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.2938, allocations: 20.92 kB / 412.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.2938, allocations: 7.938 kB / 412.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.2938, allocations: 30.56 kB / 412.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2939, allocations: 4 kB / 412.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001982/0.2941, allocations: 65.61 kB / 412.6 MB, free: 14.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.2941, allocations: 51.41 kB / 412.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.383e-05/0.2942, allocations: 109.8 kB / 412.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.2942, allocations: 29.7 kB / 412.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.2942, allocations: 80.14 kB / 412.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.2942, allocations: 0 / 412.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.2943, allocations: 17.72 kB / 412.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.2944, allocations: 318.8 kB / 413.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.2944, allocations: 7.922 kB / 413.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.883e-05/0.2944, allocations: 31.38 kB / 413.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.2945, allocations: 39.38 kB / 413.3 MB, free: 14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2945, allocations: 0 / 413.3 MB, free: 14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.896e-05/0.2946, allocations: 53.62 kB / 413.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2946, allocations: 4 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2946, allocations: 4 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2946, allocations: 3.938 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.579e-05/0.2947, allocations: 4 kB / 413.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2947, allocations: 0 / 413.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.2947, allocations: 5.531 kB / 413.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.2947, allocations: 4 kB / 413.3 MB, free: 13.91 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 7.302e-05/0.2948, allocations: 125.7 kB / 413.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.2948, allocations: 0 / 413.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.2948, allocations: 7.438 kB / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2948, allocations: 0 / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2949, allocations: 256 / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.2949, allocations: 92.95 kB / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.2949, allocations: 7.938 kB / 413.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.613e-05/0.295, allocations: 7.984 kB / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-06/0.295, allocations: 0 / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001221/0.2951, allocations: 129 kB / 413.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001592/0.2953, allocations: 231 kB / 413.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.698e-05/0.2953, allocations: 12.03 kB / 413.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.7e-05/0.2954, allocations: 87.27 kB / 414 MB, free: 13.17 MB / 334.1 MB Notification: Performance of Backend: time 5.51e-07/0.2954, allocations: 4 kB / 414 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003445/0.2957, allocations: 88.64 kB / 414.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004015/0.2961, allocations: 0.5532 MB / 414.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of Templates: time 0.00218/0.2983, allocations: 304.8 kB / 415 MB, free: 12.17 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1)