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.0009384/0.0009383, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009635/0.0009633, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.3471/0.3471, allocations: 40.01 MB / 310.4 MB, free: 9.953 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.000827/0.0008272, allocations: 12 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1266, allocations: 57.96 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0005482/0.1272, allocations: 218.1 kB / 437 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006938/0.1279, allocations: 333.7 kB / 437.3 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.879e-05/0.1279, allocations: 0 / 437.3 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.1279, allocations: 7.938 kB / 437.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.094e-06/0.128, allocations: 4 kB / 437.3 MB, free: 2.035 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.0007503/0.1287, allocations: 143.7 kB / 437.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.569e-05/0.1288, allocations: 3.984 kB / 437.5 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.1288, allocations: 4 kB / 437.5 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.526e-05/0.1288, allocations: 0 / 437.5 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.197e-05/0.1288, allocations: 0 / 437.5 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.1289, allocations: 3.984 kB / 437.5 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.1292, allocations: 147.7 kB / 437.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-06/0.1292, allocations: 4 kB / 437.6 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.1292, allocations: 25.7 kB / 437.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1294, allocations: 91.83 kB / 437.8 MB, free: 1.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1294, allocations: 7.984 kB / 437.8 MB, free: 1.605 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1294, allocations: 0 / 437.8 MB, free: 1.605 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1294, allocations: 0 / 437.8 MB, free: 1.605 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.0003224/0.1298, allocations: 357.1 kB / 438.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1298, allocations: 12.03 kB / 438.1 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.1299, allocations: 7.938 kB / 438.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.712e-05/0.1299, allocations: 163 kB / 438.3 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.13, allocations: 0 / 438.3 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.13, allocations: 0 / 438.3 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.1301, allocations: 37.64 kB / 438.3 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1301, allocations: 0 / 438.3 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.1301, allocations: 0 / 438.3 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1301, allocations: 3.984 kB / 438.3 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.1302, allocations: 15.89 kB / 438.3 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.1303, allocations: 153.6 kB / 438.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.873e-05/0.1303, allocations: 14.58 kB / 438.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.1304, allocations: 8.953 kB / 438.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-06/0.1304, allocations: 7.938 kB / 438.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.1304, allocations: 56.27 kB / 438.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.1304, allocations: 0 / 438.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001677/0.1306, allocations: 67.39 kB / 438.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.1307, allocations: 77.11 kB / 438.7 MB, free: 448 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.466e-05/0.1307, allocations: 89.86 kB / 438.8 MB, free: 348 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1307, allocations: 25.7 kB / 438.8 MB, free: 316 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.1308, allocations: 88.27 kB / 438.9 MB, free: 224 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.1308, allocations: 0 / 438.9 MB, free: 224 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.1308, allocations: 0 / 438.9 MB, free: 224 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1309, allocations: 314.8 kB / 439.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-06/0.131, allocations: 0 / 439.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.131, allocations: 3.938 kB / 439.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.131, allocations: 33.69 kB / 439.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.131, allocations: 0 / 439.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.827e-05/0.1311, allocations: 63.5 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.1311, allocations: 33.7 kB / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1311, allocations: 0 / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1312, allocations: 0 / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.1312, allocations: 0 / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1312, allocations: 0 / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.1312, allocations: 4 kB / 439.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1312, allocations: 3.984 kB / 439.4 MB, free: 15.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.793e-05/0.1313, allocations: 135.5 kB / 439.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.1313, allocations: 4 kB / 439.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.049e-05/0.1313, allocations: 11.06 kB / 439.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1313, allocations: 0 / 439.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1314, allocations: 0 / 439.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.1314, allocations: 0 / 439.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.703e-05/0.1315, allocations: 153.6 kB / 439.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1315, allocations: 4 kB / 439.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-06/0.1315, allocations: 3.938 kB / 439.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1315, allocations: 0 / 439.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.1315, allocations: 0 / 439.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1315, allocations: 0 / 439.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1315, allocations: 0 / 439.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.159e-05/0.1316, allocations: 98.78 kB / 439.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.1317, allocations: 77.11 kB / 439.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1317, allocations: 3.938 kB / 439.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.099e-05/0.1317, allocations: 4 kB / 439.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.1317, allocations: 0 / 439.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1317, allocations: 0 / 439.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.858e-05/0.1317, allocations: 79.31 kB / 439.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1318, allocations: 0 / 439.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.132, allocations: 51.98 kB / 440 MB, free: 15.02 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 (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.0003743/0.1324, allocations: 187.2 kB / 440.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.932e-05/0.1325, allocations: 59.34 kB / 440.2 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1325, allocations: 0 / 440.2 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.1326, allocations: 59.45 kB / 440.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.1327, allocations: 15.95 kB / 440.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001587/0.1329, allocations: 78.7 kB / 440.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1331, allocations: 0.6692 MB / 441 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.372e-06/0.1331, allocations: 4 kB / 441 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.025e-05/0.1332, allocations: 7.438 kB / 441.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1332, allocations: 0 / 441.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of Templates: time 0.003622/0.1368, allocations: 1.338 MB / 442.4 MB, free: 12.52 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: