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.0009758/0.0009758, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008119/0.008119, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.761/1.761, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.4053/0.4053, allocations: 40.01 MB / 310.7 MB, free: 9.586 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.0008319/0.0008318, allocations: 12.56 kB / 379.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1151, allocations: 57.96 MB / 437.4 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0005875/0.1157, allocations: 222.1 kB / 437.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007944/0.1166, allocations: 365.5 kB / 438 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.029e-05/0.1166, allocations: 0 / 438 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.919e-06/0.1166, allocations: 0 / 438 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.737e-06/0.1166, allocations: 0 / 438 MB, free: 1.355 MB / 366.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.0006375/0.1173, allocations: 143.8 kB / 438.1 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.28e-05/0.1173, allocations: 4 kB / 438.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.1173, allocations: 0 / 438.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.26e-05/0.1174, allocations: 0 / 438.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.985e-05/0.1174, allocations: 0 / 438.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.34e-06/0.1174, allocations: 3.938 kB / 438.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.1177, allocations: 159.7 kB / 438.3 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.1177, allocations: 8 kB / 438.3 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.1178, allocations: 25.7 kB / 438.3 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.1181, allocations: 143.7 kB / 438.4 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1181, allocations: 0 / 438.4 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1181, allocations: 0 / 438.4 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1181, allocations: 0 / 438.4 MB, free: 0.8711 MB / 366.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.0003232/0.1184, allocations: 361.3 kB / 438.8 MB, free: 472 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1185, allocations: 8.031 kB / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.1185, allocations: 0.9375 kB / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.815e-05/0.1186, allocations: 172.3 kB / 439 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1186, allocations: 384 / 439 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.1186, allocations: 384 / 439 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.537e-05/0.1187, allocations: 34.25 kB / 439 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1187, allocations: 192 / 439 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1188, allocations: 7.938 kB / 439 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1188, allocations: 0 / 439 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.73e-05/0.1188, allocations: 0 / 439 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.1189, allocations: 149.6 kB / 439.2 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.583e-05/0.119, allocations: 26.59 kB / 439.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.119, allocations: 12.73 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.1191, allocations: 0 / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.1191, allocations: 64.31 kB / 439.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1191, allocations: 0 / 439.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001686/0.1193, allocations: 71.28 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.1193, allocations: 77.23 kB / 439.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.691e-05/0.1194, allocations: 97.84 kB / 439.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.1194, allocations: 25.7 kB / 439.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.1194, allocations: 80.14 kB / 439.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.1195, allocations: 3.938 kB / 439.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.1195, allocations: 9.719 kB / 439.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.1196, allocations: 314.8 kB / 439.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-06/0.1196, allocations: 0 / 439.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.1196, allocations: 0 / 439.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/0.1197, allocations: 68.33 kB / 440 MB, free: 15.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1197, allocations: 0 / 440 MB, free: 15.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.555e-05/0.1198, allocations: 63.39 kB / 440.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.1198, allocations: 29.7 kB / 440.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1198, allocations: 0 / 440.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1198, allocations: 3.938 kB / 440.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1198, allocations: 0 / 440.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1198, allocations: 7.938 kB / 440.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.1199, allocations: 0 / 440.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1199, allocations: 4.031 kB / 440.1 MB, free: 14.94 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 8.582e-05/0.12, allocations: 143.5 kB / 440.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-06/0.12, allocations: 0 / 440.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.359e-05/0.12, allocations: 7.062 kB / 440.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.12, allocations: 0 / 440.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.12, allocations: 0 / 440.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.12, allocations: 0 / 440.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.573e-05/0.1201, allocations: 145.7 kB / 440.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1201, allocations: 0 / 440.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-06/0.1201, allocations: 3.984 kB / 440.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1201, allocations: 4 kB / 440.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1201, allocations: 3.938 kB / 440.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1202, allocations: 0 / 440.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1202, allocations: 3.938 kB / 440.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.1203, allocations: 86.84 kB / 440.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.1203, allocations: 81.09 kB / 440.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.1203, allocations: 3.938 kB / 440.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.265e-05/0.1204, allocations: 8.031 kB / 440.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.1204, allocations: 7.922 kB / 440.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1204, allocations: 0 / 440.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.801e-05/0.1204, allocations: 75.28 kB / 440.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1204, allocations: 0 / 440.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003342/0.1208, allocations: 51.98 kB / 440.7 MB, free: 14.21 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.0004146/0.1212, allocations: 191.1 kB / 440.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.411e-05/0.1213, allocations: 63.41 kB / 441 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1213, allocations: 0 / 441 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.1214, allocations: 51.41 kB / 441 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.1215, allocations: 11.38 kB / 441 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000208/0.1217, allocations: 78.75 kB / 441.1 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.122, allocations: 0.6731 MB / 441.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.047e-06/0.122, allocations: 3.938 kB / 441.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.162e-05/0.122, allocations: 11.5 kB / 441.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.122, allocations: 4 kB / 441.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of Templates: time 0.004048/0.1261, allocations: 1.421 MB / 443.2 MB, free: 11.64 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: