Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008173/0.008173, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001478/0.001478, allocations: 196.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3801/0.3801, allocations: 39.94 MB / 309.8 MB, free: 9.391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 67.91 kB / 435.8 MB, free: 2.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4104, allocations: 56.86 MB / 492.6 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001933/0.4124, allocations: 0.5018 MB / 493.1 MB, free: 19.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009385/0.4133, allocations: 348.6 kB / 493.5 MB, free: 18.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.4134, allocations: 1.094 kB / 493.5 MB, free: 18.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.4134, allocations: 0 / 493.5 MB, free: 18.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.671e-06/0.4134, allocations: 0 / 493.5 MB, free: 18.96 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:38:3-111:23:writable] Warning: Pure function 'ModelicaTest.Math.BooleanFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000832/0.4142, allocations: 189.3 kB / 493.7 MB, free: 18.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.316e-05/0.4143, allocations: 1.188 kB / 493.7 MB, free: 18.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.4143, allocations: 1.812 kB / 493.7 MB, free: 18.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.452e-05/0.4144, allocations: 5.203 kB / 493.7 MB, free: 18.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.305e-05/0.4144, allocations: 1.156 kB / 493.7 MB, free: 18.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.684e-06/0.4144, allocations: 0 / 493.7 MB, free: 18.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003532/0.4148, allocations: 170.1 kB / 493.8 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.4148, allocations: 0 / 493.8 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.4148, allocations: 5.031 kB / 493.8 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.4151, allocations: 141 kB / 494 MB, free: 18.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4151, allocations: 4.75 kB / 494 MB, free: 18.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.4151, allocations: 1.125 kB / 494 MB, free: 18.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.4151, allocations: 0 / 494 MB, free: 18.78 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003164/0.4155, allocations: 362.6 kB / 494.3 MB, free: 18.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4155, allocations: 13.33 kB / 494.3 MB, free: 18.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.4155, allocations: 10.06 kB / 494.4 MB, free: 18.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.715e-05/0.4156, allocations: 161.8 kB / 494.5 MB, free: 18.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.4156, allocations: 1.594 kB / 494.5 MB, free: 18.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.4156, allocations: 384 / 494.5 MB, free: 18.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.303e-05/0.4157, allocations: 33.81 kB / 494.5 MB, free: 18.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.4158, allocations: 1.375 kB / 494.5 MB, free: 18.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4158, allocations: 3.938 kB / 494.6 MB, free: 18.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4158, allocations: 4.688 kB / 494.6 MB, free: 18.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.097e-05/0.4158, allocations: 6.25 kB / 494.6 MB, free: 18.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/0.4159, allocations: 148.2 kB / 494.7 MB, free: 17.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.506e-05/0.416, allocations: 16.41 kB / 494.7 MB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.332e-05/0.416, allocations: 6.609 kB / 494.7 MB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-06/0.416, allocations: 5.219 kB / 494.7 MB, free: 17.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.416, allocations: 58.03 kB / 494.8 MB, free: 17.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.416, allocations: 0 / 494.8 MB, free: 17.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001632/0.4162, allocations: 78.14 kB / 494.9 MB, free: 17.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.4162, allocations: 77.11 kB / 494.9 MB, free: 17.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.488e-05/0.4163, allocations: 91.72 kB / 495 MB, free: 17.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.4163, allocations: 25.7 kB / 495.1 MB, free: 17.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.178e-05/0.4163, allocations: 84.27 kB / 495.1 MB, free: 17.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.4163, allocations: 1.875 kB / 495.1 MB, free: 17.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.4164, allocations: 12.62 kB / 495.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.4164, allocations: 315.4 kB / 495.5 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.4164, allocations: 1.156 kB / 495.5 MB, free: 17.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.4164, allocations: 1.922 kB / 495.5 MB, free: 17.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.438e-05/0.4165, allocations: 60.56 kB / 495.5 MB, free: 17.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.4165, allocations: 8 kB / 495.5 MB, free: 17.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.537e-05/0.4165, allocations: 61.12 kB / 495.6 MB, free: 16.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.4166, allocations: 32.42 kB / 495.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4166, allocations: 4 kB / 495.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4166, allocations: 6.797 kB / 495.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.4166, allocations: 0 / 495.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4166, allocations: 0 / 495.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.4167, allocations: 0.6562 kB / 495.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.4167, allocations: 1.5 kB / 495.6 MB, free: 16.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.559e-05/0.4167, allocations: 143.7 kB / 495.8 MB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.4168, allocations: 0 / 495.8 MB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.335e-05/0.4168, allocations: 7.672 kB / 495.8 MB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.4168, allocations: 1.531 kB / 495.8 MB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4168, allocations: 0.6094 kB / 495.8 MB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.4168, allocations: 0 / 495.8 MB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.389e-05/0.4169, allocations: 149.4 kB / 495.9 MB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4169, allocations: 5.375 kB / 495.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.4169, allocations: 3.938 kB / 495.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-06/0.4169, allocations: 0 / 495.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.4169, allocations: 6.109 kB / 495.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.4169, allocations: 4 kB / 496 MB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4169, allocations: 3.938 kB / 496 MB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.528e-05/0.417, allocations: 88.98 kB / 496 MB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.417, allocations: 82.91 kB / 496.1 MB, free: 16.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.417, allocations: 4.641 kB / 496.1 MB, free: 16.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/0.417, allocations: 1.312 kB / 496.1 MB, free: 16.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.042e-05/0.4171, allocations: 0.6094 kB / 496.1 MB, free: 16.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.4171, allocations: 5.625 kB / 496.1 MB, free: 16.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.402e-05/0.4171, allocations: 81.39 kB / 496.2 MB, free: 16.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4171, allocations: 0 / 496.2 MB, free: 16.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000352/0.4175, allocations: 50.05 kB / 496.3 MB, free: 16.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0003651/0.4178, allocations: 179.6 kB / 496.4 MB, free: 16.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.908e-05/0.4179, allocations: 62.7 kB / 496.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4179, allocations: 4.062 kB / 496.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.01e-05/0.418, allocations: 59.94 kB / 496.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.4181, allocations: 1.344 kB / 496.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000177/0.4183, allocations: 87.19 kB / 496.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.563e-05/0.4184, allocations: 0.6712 MB / 497.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.983e-06/0.4184, allocations: 0.6094 kB / 497.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.146e-05/0.4184, allocations: 9.781 kB / 497.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4184, allocations: 0 / 497.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of Templates: time 0.004407/0.4228, allocations: 1.432 MB / 498.8 MB, free: 15.06 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1)