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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001069/0.001069, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.939/1.939, allocations: 194.3 MB / 202.4 MB, free: 8.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001823/0.001823, allocations: 118.6 kB / 247.4 MB, free: 6.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2232/0.2232, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.81e-05, allocations: 0 / 393.3 MB, free: 75.56 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.129, allocations: 54.88 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4681/0.5972, allocations: 79.35 MB / 0.5152 GB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001681/0.5974, allocations: 59.08 kB / 0.5152 GB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004876/0.6023, allocations: 2.147 MB / 0.5173 GB, free: 9.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6023, allocations: 3.812 kB / 0.5173 GB, free: 9.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.6024, allocations: 0 / 0.5173 GB, free: 9.965 MB / 346.7 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.0002496/0.6026, allocations: 370 kB / 0.5177 GB, free: 9.578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.6027, allocations: 11.53 kB / 0.5177 GB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.6027, allocations: 3.953 kB / 0.5177 GB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.626e-05/0.6028, allocations: 163 kB / 0.5178 GB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.6028, allocations: 4 kB / 0.5178 GB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.6028, allocations: 3.938 kB / 0.5179 GB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.865e-05/0.6029, allocations: 0 / 0.5179 GB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.361e-05/0.6029, allocations: 32.69 kB / 0.5179 GB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.603, allocations: 0 / 0.5179 GB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.603, allocations: 0 / 0.5179 GB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.603, allocations: 3.953 kB / 0.5179 GB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.464e-05/0.6031, allocations: 122.2 kB / 0.518 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.109e-05/0.6031, allocations: 26.05 kB / 0.518 GB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.6031, allocations: 8 kB / 0.518 GB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.6031, allocations: 7.922 kB / 0.518 GB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.6032, allocations: 60.11 kB / 0.5181 GB, free: 9.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.6032, allocations: 0 / 0.5181 GB, free: 9.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001579/0.6034, allocations: 29.55 kB / 0.5181 GB, free: 9.031 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.6034, allocations: 77.11 kB / 0.5182 GB, free: 8.938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.089e-05/0.6034, allocations: 90.33 kB / 0.5183 GB, free: 8.848 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.6034, allocations: 33.58 kB / 0.5183 GB, free: 8.812 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.389e-05/0.6035, allocations: 80.14 kB / 0.5184 GB, free: 8.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.6035, allocations: 0 / 0.5184 GB, free: 8.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.6035, allocations: 0 / 0.5184 GB, free: 8.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.733e-05/0.6035, allocations: 314.8 kB / 0.5187 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-06/0.6036, allocations: 0 / 0.5187 GB, free: 8.414 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-06/0.6036, allocations: 0 / 0.5187 GB, free: 8.414 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.6036, allocations: 6.656 kB / 0.5187 GB, free: 8.414 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6036, allocations: 4.062 kB / 0.5187 GB, free: 8.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.025e-05/0.6037, allocations: 37.33 kB / 0.5187 GB, free: 8.375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.6037, allocations: 29.55 kB / 0.5188 GB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.6037, allocations: 0 / 0.5188 GB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.6037, allocations: 6.609 kB / 0.5188 GB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.6037, allocations: 0 / 0.5188 GB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.6037, allocations: 0 / 0.5188 GB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.6038, allocations: 3.844 kB / 0.5188 GB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.6038, allocations: 3.812 kB / 0.5188 GB, free: 8.34 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/0.6038, allocations: 134.7 kB / 0.5189 GB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-06/0.6039, allocations: 3.844 kB / 0.5189 GB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.157e-05/0.6039, allocations: 7.703 kB / 0.5189 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6039, allocations: 2.719 kB / 0.5189 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6039, allocations: 4 kB / 0.5189 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.6039, allocations: 0 / 0.5189 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.978e-05/0.6039, allocations: 122.2 kB / 0.519 GB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.604, allocations: 3.953 kB / 0.5191 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-07/0.604, allocations: 3.844 kB / 0.5191 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.604, allocations: 2.766 kB / 0.5191 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.604, allocations: 7.938 kB / 0.5191 GB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.604, allocations: 0 / 0.5191 GB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.604, allocations: 0 / 0.5191 GB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.827e-05/0.6041, allocations: 68.39 kB / 0.5191 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.6041, allocations: 81.06 kB / 0.5192 GB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.6041, allocations: 0 / 0.5192 GB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.6041, allocations: 0 / 0.5192 GB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.6042, allocations: 0 / 0.5192 GB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.6042, allocations: 10.61 kB / 0.5192 GB, free: 7.852 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.37e-05/0.6042, allocations: 75.28 kB / 0.5193 GB, free: 7.777 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6042, allocations: 0 / 0.5193 GB, free: 7.777 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002776/0.6045, allocations: 57.3 kB / 0.5193 GB, free: 7.766 MB / 346.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004048/0.6049, allocations: 184.3 kB / 0.5195 GB, free: 7.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.107e-05/0.605, allocations: 61.36 kB / 0.5196 GB, free: 7.598 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.605, allocations: 4.062 kB / 0.5196 GB, free: 7.594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.605, allocations: 57.62 kB / 0.5196 GB, free: 7.531 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.474e-05/0.6051, allocations: 0 / 0.5196 GB, free: 7.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001308/0.6052, allocations: 41.84 kB / 0.5197 GB, free: 7.473 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.6054, allocations: 0.6751 MB / 0.5203 GB, free: 6.777 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.911e-06/0.6054, allocations: 0 / 0.5203 GB, free: 6.777 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-06/0.6054, allocations: 7.438 kB / 0.5203 GB, free: 6.77 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6054, allocations: 7.875 kB / 0.5204 GB, free: 6.762 MB / 346.7 MB Notification: Performance of Templates: time 0.003632/0.609, allocations: 1.706 MB / 0.522 GB, free: 6.348 MB / 346.7 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)