Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001706, allocations: 119.5 kB / 18.51 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002189/0.002189, allocations: 205.6 kB / 21.45 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2306/0.2306, allocations: 46.92 MB / 357.7 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 79.86 kB / 0.4916 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1232, allocations: 66.04 MB / 0.5561 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001803/0.125, allocations: 494.4 kB / 0.5566 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009536/0.1259, allocations: 379.5 kB / 0.557 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.1259, allocations: 0 / 0.557 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.1259, allocations: 0 / 0.557 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.09e-06/0.1259, allocations: 0 / 0.557 GB, free: 4.699 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:38:3-118: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.0008069/0.1268, allocations: 199.3 kB / 0.5572 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.511e-05/0.1268, allocations: 0 / 0.5572 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.1268, allocations: 0 / 0.5572 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.1269, allocations: 11.98 kB / 0.5572 GB, free: 4.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.775e-05/0.1269, allocations: 3.938 kB / 0.5572 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-06/0.1269, allocations: 0 / 0.5572 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.1272, allocations: 207.6 kB / 0.5574 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-06/0.1272, allocations: 0 / 0.5574 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.1273, allocations: 0 / 0.5574 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.1275, allocations: 151.6 kB / 0.5575 GB, free: 4.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1275, allocations: 4 kB / 0.5575 GB, free: 4.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1275, allocations: 0 / 0.5575 GB, free: 4.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1275, allocations: 0 / 0.5575 GB, free: 4.137 MB / 414.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.0004124/0.1279, allocations: 365 kB / 0.5579 GB, free: 3.723 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.128, allocations: 11.97 kB / 0.5579 GB, free: 3.711 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.128, allocations: 34.75 kB / 0.5579 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.128, allocations: 0.9375 kB / 0.5579 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1281, allocations: 160.4 kB / 0.5581 GB, free: 3.473 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1281, allocations: 384 / 0.5581 GB, free: 3.473 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.1282, allocations: 4.375 kB / 0.5581 GB, free: 3.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.853e-05/0.1282, allocations: 38.25 kB / 0.5581 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1283, allocations: 7.922 kB / 0.5581 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1283, allocations: 0 / 0.5581 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1283, allocations: 4 kB / 0.5581 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.1283, allocations: 0 / 0.5581 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.1284, allocations: 141.7 kB / 0.5583 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.005e-05/0.1285, allocations: 28.2 kB / 0.5583 GB, free: 3.191 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.1285, allocations: 8.859 kB / 0.5583 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.1285, allocations: 0 / 0.5583 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/0.1286, allocations: 64.19 kB / 0.5584 GB, free: 3.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.1286, allocations: 0 / 0.5584 GB, free: 3.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001864/0.1288, allocations: 71.3 kB / 0.5584 GB, free: 3.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.1288, allocations: 81.11 kB / 0.5585 GB, free: 2.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.419e-05/0.1289, allocations: 93.86 kB / 0.5586 GB, free: 2.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1289, allocations: 25.7 kB / 0.5586 GB, free: 2.789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.1289, allocations: 84.27 kB / 0.5587 GB, free: 2.703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.1289, allocations: 0 / 0.5587 GB, free: 2.703 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.129, allocations: 17.7 kB / 0.5587 GB, free: 2.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1291, allocations: 310.8 kB / 0.559 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-06/0.1291, allocations: 0 / 0.559 GB, free: 2.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.1291, allocations: 0 / 0.559 GB, free: 2.367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.077e-05/0.1292, allocations: 64.27 kB / 0.5591 GB, free: 2.289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1292, allocations: 4.062 kB / 0.5591 GB, free: 2.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.496e-05/0.1293, allocations: 67.33 kB / 0.5591 GB, free: 2.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.1293, allocations: 29.7 kB / 0.5592 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1293, allocations: 3.938 kB / 0.5592 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1293, allocations: 3.938 kB / 0.5592 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1293, allocations: 4 kB / 0.5592 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.1293, allocations: 0 / 0.5592 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.1294, allocations: 0 / 0.5592 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1294, allocations: 3.984 kB / 0.5592 GB, free: 2.156 MB / 414.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 0.0001118/0.1295, allocations: 139.6 kB / 0.5593 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.1295, allocations: 0 / 0.5593 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.31e-05/0.1295, allocations: 15.05 kB / 0.5593 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1295, allocations: 0 / 0.5593 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1295, allocations: 0 / 0.5593 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1295, allocations: 0 / 0.5593 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.1296, allocations: 145.7 kB / 0.5595 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1296, allocations: 0 / 0.5595 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-06/0.1296, allocations: 4 kB / 0.5595 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1296, allocations: 0 / 0.5595 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1296, allocations: 7.922 kB / 0.5595 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1296, allocations: 4 kB / 0.5595 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1296, allocations: 0 / 0.5595 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.1297, allocations: 90.78 kB / 0.5596 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.1298, allocations: 85.03 kB / 0.5597 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1298, allocations: 7.938 kB / 0.5597 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-06/0.1298, allocations: 0 / 0.5597 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-06/0.1298, allocations: 0 / 0.5597 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.1298, allocations: 4.031 kB / 0.5597 GB, free: 1.559 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.112e-05/0.1298, allocations: 75.28 kB / 0.5597 GB, free: 1.484 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1298, allocations: 0 / 0.5597 GB, free: 1.484 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000305/0.1301, allocations: 51.88 kB / 0.5598 GB, free: 1.434 MB / 414.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.0007341/0.1309, allocations: 0.7241 MB / 0.5605 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.131, allocations: 67.34 kB / 0.5606 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.131, allocations: 0 / 0.5606 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.131, allocations: 59.39 kB / 0.5606 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.1311, allocations: 0 / 0.5606 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.1315, allocations: 126.7 kB / 0.5607 GB, free: 372 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1318, allocations: 0.6769 MB / 0.5614 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.33e-06/0.1318, allocations: 0 / 0.5614 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.1318, allocations: 15.38 kB / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1318, allocations: 0 / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.1553, allocations: 2.433 MB / 0.5638 GB, free: 13.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.109, allocations: 0 / 0.5638 GB, free: 13.3 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.161920927930623] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.175059433095157 8.197137583 8.064501559 Calling exit ...