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.001401/0.0014, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 196.9 kB / 16.53 MB, free: 6.391 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.62/1.62, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.3732/0.3732, allocations: 39.95 MB / 309.7 MB, free: 9.289 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.001522/0.001522, allocations: 79.89 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1275, allocations: 56.88 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00183/0.1294, allocations: 494.5 kB / 435 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008589/0.1303, allocations: 351.8 kB / 435.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.1303, allocations: 0 / 435.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.177e-05/0.1303, allocations: 3.938 kB / 435.3 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5e-06/0.1303, allocations: 0 / 435.3 MB, free: 2.863 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.0007477/0.1311, allocations: 179.6 kB / 435.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.753e-05/0.1312, allocations: 3.984 kB / 435.5 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.1312, allocations: 4 kB / 435.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.1312, allocations: 4 kB / 435.5 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.455e-05/0.1313, allocations: 4 kB / 435.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.103e-06/0.1313, allocations: 0 / 435.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.1316, allocations: 151.8 kB / 435.7 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-06/0.1316, allocations: 0 / 435.7 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.1316, allocations: 4 kB / 435.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.1318, allocations: 143.6 kB / 435.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1319, allocations: 0 / 435.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1319, allocations: 0 / 435.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1319, allocations: 0 / 435.8 MB, free: 2.379 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.0003656/0.1322, allocations: 369.2 kB / 436.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1323, allocations: 15.89 kB / 436.2 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.1323, allocations: 0.9375 kB / 436.2 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1325, allocations: 168.4 kB / 436.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1325, allocations: 384 / 436.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.1325, allocations: 384 / 436.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.606e-05/0.1326, allocations: 26.27 kB / 436.4 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1326, allocations: 4.188 kB / 436.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.1326, allocations: 3.938 kB / 436.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1326, allocations: 0 / 436.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/0.1327, allocations: 7.938 kB / 436.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.1328, allocations: 149.6 kB / 436.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.398e-05/0.1329, allocations: 22.59 kB / 436.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/0.1329, allocations: 8.859 kB / 436.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.1329, allocations: 3.938 kB / 436.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.133, allocations: 60.33 kB / 436.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.133, allocations: 0 / 436.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001782/0.1332, allocations: 75.28 kB / 436.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.1333, allocations: 81.09 kB / 436.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.184e-05/0.1333, allocations: 89.86 kB / 436.9 MB, free: 1.098 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1333, allocations: 25.7 kB / 436.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.1334, allocations: 80.14 kB / 437 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.1334, allocations: 0 / 437 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.1335, allocations: 13.72 kB / 437 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1336, allocations: 315 kB / 437.3 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.1336, allocations: 4 kB / 437.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-06/0.1337, allocations: 4 kB / 437.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.1337, allocations: 56.27 kB / 437.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1337, allocations: 3.984 kB / 437.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.416e-05/0.1338, allocations: 63.34 kB / 437.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.1338, allocations: 33.7 kB / 437.5 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1338, allocations: 0 / 437.5 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1339, allocations: 3.938 kB / 437.5 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.454e-06/0.1339, allocations: 8.094 kB / 437.5 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1339, allocations: 0 / 437.5 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.1339, allocations: 0 / 437.5 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.1339, allocations: 4 kB / 437.5 MB, free: 448 kB / 366.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.156e-05/0.134, allocations: 139.5 kB / 437.6 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.134, allocations: 0 / 437.6 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.183e-05/0.134, allocations: 7.062 kB / 437.6 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.134, allocations: 3.984 kB / 437.6 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1341, allocations: 0 / 437.6 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.1341, allocations: 11.94 kB / 437.6 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.047e-05/0.1342, allocations: 149.7 kB / 437.8 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1342, allocations: 0 / 437.8 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1342, allocations: 0 / 437.8 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.1342, allocations: 0 / 437.8 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1342, allocations: 3.938 kB / 437.8 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1342, allocations: 4 kB / 437.8 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1342, allocations: 0 / 437.8 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.1343, allocations: 98.7 kB / 437.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.1344, allocations: 81.11 kB / 438 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1344, allocations: 3.938 kB / 438 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-06/0.1344, allocations: 0 / 438 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.1344, allocations: 0 / 438 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1344, allocations: 4 kB / 438 MB, free: 15.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.374e-05/0.1345, allocations: 80.89 kB / 438 MB, free: 15.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1345, allocations: 0 / 438 MB, free: 15.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.1348, allocations: 43.98 kB / 438.1 MB, free: 15.71 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.0003825/0.1351, allocations: 183.4 kB / 438.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.1353, allocations: 59.41 kB / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1353, allocations: 3.938 kB / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.208e-05/0.1353, allocations: 59.39 kB / 438.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.1354, allocations: 3.938 kB / 438.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001916/0.1356, allocations: 88.98 kB / 438.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.136, allocations: 0.6729 MB / 439.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.332e-06/0.136, allocations: 0 / 439.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.101e-05/0.136, allocations: 7.438 kB / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1361, allocations: 0 / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of Templates: time 0.004056/0.1401, allocations: 1.433 MB / 440.6 MB, free: 13.12 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)