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.001178/0.001178, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 206.8 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.412/1.412, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3188, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002639/0.3214, allocations: 1.503 MB / 411.4 MB, free: 96 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004195/0.3219, allocations: 139.5 kB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.818e-05/0.322, allocations: 4 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.137e-05/0.322, allocations: 3.938 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.3221, allocations: 7.922 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.3224, allocations: 39.91 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.3225, allocations: 27.92 kB / 411.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3226, allocations: 19.98 kB / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.207e-05/0.3227, allocations: 7.938 kB / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.561e-05/0.3227, allocations: 19.86 kB / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3227, allocations: 0 / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.3228, allocations: 4 kB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.3228, allocations: 15.97 kB / 411.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.3229, allocations: 23.81 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.323, allocations: 47.83 kB / 411.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.323, allocations: 3.938 kB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.323, allocations: 0 / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.323, allocations: 0 / 411.8 MB, free: 15.73 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.0004408/0.3234, allocations: 363 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3235, allocations: 8.031 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.3235, allocations: 8.844 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.3238, allocations: 193.5 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.3238, allocations: 12.38 kB / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.3238, allocations: 384 / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.3241, allocations: 117.5 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3241, allocations: 192 / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3241, allocations: 3.938 kB / 412.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3241, allocations: 8 kB / 412.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.03e-05/0.3242, allocations: 15.98 kB / 412.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.3245, allocations: 249.8 kB / 412.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3248, allocations: 142.2 kB / 412.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.3248, allocations: 25.77 kB / 412.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.3249, allocations: 4 kB / 412.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.3249, allocations: 42.5 kB / 413 MB, free: 14.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.126e-06/0.3249, allocations: 3.984 kB / 413 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000248/0.3252, allocations: 69.58 kB / 413 MB, free: 14.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.3252, allocations: 85.17 kB / 413.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.3254, allocations: 125.8 kB / 413.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.3254, allocations: 29.7 kB / 413.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.3254, allocations: 84.14 kB / 413.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.3255, allocations: 3.906 kB / 413.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.3255, allocations: 21.7 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3256, allocations: 318.8 kB / 413.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.143e-05/0.3257, allocations: 4 kB / 413.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.036e-05/0.3257, allocations: 35.42 kB / 413.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.12e-05/0.3258, allocations: 43.36 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3258, allocations: 0 / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001158/0.3259, allocations: 65.56 kB / 413.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.326, allocations: 4 kB / 413.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.326, allocations: 0 / 413.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.326, allocations: 7.938 kB / 413.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.208e-05/0.326, allocations: 3.938 kB / 413.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.326, allocations: 0 / 413.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.3261, allocations: 7.906 kB / 413.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3261, allocations: 0 / 413.9 MB, free: 13.37 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 8.74e-05/0.3262, allocations: 133.9 kB / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.3262, allocations: 11.94 kB / 414 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.3262, allocations: 3.906 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3263, allocations: 0 / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3263, allocations: 4 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.3263, allocations: 96.94 kB / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.3264, allocations: 0 / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.3264, allocations: 3.938 kB / 414.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.3265, allocations: 7.984 kB / 414.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001863/0.3267, allocations: 216.1 kB / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002104/0.3269, allocations: 309.9 kB / 414.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.721e-05/0.3269, allocations: 15.98 kB / 414.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.764e-05/0.327, allocations: 107 kB / 414.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of Backend: time 4.61e-07/0.327, allocations: 0 / 414.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004763/0.3275, allocations: 90.39 kB / 414.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005676/0.3281, allocations: 0.5883 MB / 415.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of Templates: time 0.002745/0.3308, allocations: 0.5031 MB / 415.9 MB, free: 11.19 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)