Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001657/0.001657, allocations: 114.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002029/0.002029, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3188, allocations: 50.54 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002625/0.3215, allocations: 1.503 MB / 411.4 MB, free: 124 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004366/0.322, allocations: 139.5 kB / 411.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.537e-05/0.3221, allocations: 0 / 411.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.978e-05/0.3221, allocations: 7.922 kB / 411.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.3223, allocations: 11.94 kB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.3225, allocations: 35.91 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.3226, allocations: 31.91 kB / 411.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3228, allocations: 12 kB / 411.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/0.3228, allocations: 15.92 kB / 411.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.08e-05/0.3229, allocations: 15.88 kB / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.3229, allocations: 4 kB / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.3229, allocations: 0 / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.323, allocations: 19.97 kB / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.323, allocations: 19.81 kB / 411.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.3231, allocations: 43.83 kB / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3231, allocations: 0 / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3231, allocations: 0 / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3231, allocations: 0 / 411.8 MB, free: 15.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004374/0.3236, allocations: 363 kB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3236, allocations: 11.97 kB / 412.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.3237, allocations: 12.84 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.3239, allocations: 201.5 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.3239, allocations: 4.375 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.324, allocations: 8.375 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.3242, allocations: 113.5 kB / 412.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.3243, allocations: 12.12 kB / 412.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3243, allocations: 3.938 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3243, allocations: 0 / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.165e-05/0.3244, allocations: 11.98 kB / 412.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.3247, allocations: 253.8 kB / 412.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.3248, allocations: 142.2 kB / 412.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.3249, allocations: 33.75 kB / 412.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3249, allocations: 0 / 412.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.3249, allocations: 34.5 kB / 413 MB, free: 14.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.325, allocations: 0 / 413 MB, free: 14.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002216/0.3252, allocations: 73.67 kB / 413 MB, free: 14.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.3252, allocations: 85.05 kB / 413.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3253, allocations: 129.8 kB / 413.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3254, allocations: 25.7 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3255, allocations: 84.14 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.3255, allocations: 3.906 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.3255, allocations: 25.7 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3257, allocations: 310.8 kB / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.187e-05/0.3257, allocations: 12.03 kB / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/0.3258, allocations: 31.42 kB / 413.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.641e-05/0.3259, allocations: 43.36 kB / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3259, allocations: 0 / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001074/0.326, allocations: 65.56 kB / 413.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.326, allocations: 4 kB / 413.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.326, allocations: 4 kB / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.326, allocations: 0 / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.149e-05/0.3261, allocations: 7.875 kB / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3261, allocations: 4 kB / 413.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.3261, allocations: 4.031 kB / 413.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.3261, allocations: 8 kB / 413.9 MB, free: 13.39 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: 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 9.133e-05/0.3262, allocations: 125.8 kB / 414 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.3263, allocations: 7.938 kB / 414 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.3263, allocations: 11.91 kB / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3263, allocations: 0 / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3263, allocations: 0 / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.3264, allocations: 92.94 kB / 414.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.3264, allocations: 0 / 414.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.49e-05/0.3265, allocations: 19.92 kB / 414.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.3265, allocations: 0 / 414.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001639/0.3267, allocations: 212.1 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001992/0.3269, allocations: 306 kB / 414.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001068/0.327, allocations: 23.95 kB / 414.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.132e-05/0.3271, allocations: 98.36 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of Backend: time 2.4e-07/0.3271, allocations: 4 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004267/0.3275, allocations: 88.62 kB / 414.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005184/0.328, allocations: 0.5884 MB / 415.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of Templates: time 0.002761/0.3308, allocations: 0.5046 MB / 415.9 MB, free: 11.21 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1)