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.001374/0.001374, allocations: 105 kB / 19.74 MB, free: 2.453 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.001479/0.001479, allocations: 218.2 kB / 22.92 MB, free: 5.195 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.308/1.308, allocations: 230.2 MB / 256.2 MB, free: 8.586 MB / 206.1 MB " [Timeout remaining time 179] 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.2011/0.2011, allocations: 46.88 MB / 359.3 MB, free: 4.98 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.002116/0.002116, allocations: 83.86 kB / 0.494 GB, free: 9.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.252, allocations: 65.99 MB / 0.5584 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001448/0.2534, allocations: 493 kB / 0.5589 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008059/0.2542, allocations: 385.3 kB / 0.5592 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.559e-05/0.2542, allocations: 0 / 0.5592 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.898e-06/0.2543, allocations: 0 / 0.5592 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.549e-06/0.2543, allocations: 0 / 0.5592 GB, free: 4.367 MB / 398.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.0006832/0.2549, allocations: 191.2 kB / 0.5594 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.802e-05/0.255, allocations: 4 kB / 0.5594 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.801e-05/0.255, allocations: 3.984 kB / 0.5594 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.386e-05/0.255, allocations: 0 / 0.5594 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.654e-05/0.2551, allocations: 3.984 kB / 0.5594 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.639e-06/0.2551, allocations: 3.938 kB / 0.5594 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.2554, allocations: 199.7 kB / 0.5596 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.224e-06/0.2554, allocations: 11.98 kB / 0.5596 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.41e-05/0.2554, allocations: 0 / 0.5596 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.2557, allocations: 149.4 kB / 0.5598 GB, free: 3.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2557, allocations: 0 / 0.5598 GB, free: 3.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2557, allocations: 0 / 0.5598 GB, free: 3.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.2557, allocations: 0 / 0.5598 GB, free: 3.816 MB / 398.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.0003518/0.256, allocations: 369 kB / 0.5601 GB, free: 3.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.256, allocations: 11.97 kB / 0.5601 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.555e-05/0.2561, allocations: 30.75 kB / 0.5602 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.919e-05/0.2561, allocations: 8.938 kB / 0.5602 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2562, allocations: 168.3 kB / 0.5603 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.2562, allocations: 384 / 0.5603 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.2562, allocations: 384 / 0.5603 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.625e-05/0.2563, allocations: 38.27 kB / 0.5604 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2563, allocations: 3.938 kB / 0.5604 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-06/0.2563, allocations: 0 / 0.5604 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-06/0.2563, allocations: 0 / 0.5604 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.293e-05/0.2563, allocations: 0 / 0.5604 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.2564, allocations: 153.7 kB / 0.5605 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.78e-05/0.2565, allocations: 18.52 kB / 0.5605 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.235e-05/0.2565, allocations: 4.859 kB / 0.5605 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.2565, allocations: 0 / 0.5605 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.2566, allocations: 64.36 kB / 0.5606 GB, free: 2.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.2566, allocations: 0 / 0.5606 GB, free: 2.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001486/0.2567, allocations: 75.22 kB / 0.5607 GB, free: 2.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.2568, allocations: 81.23 kB / 0.5608 GB, free: 2.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.927e-05/0.2568, allocations: 89.86 kB / 0.5608 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.2568, allocations: 25.7 kB / 0.5609 GB, free: 2.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.2568, allocations: 80.14 kB / 0.5609 GB, free: 2.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.2569, allocations: 3.938 kB / 0.5609 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.2569, allocations: 17.72 kB / 0.561 GB, free: 2.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.257, allocations: 310.8 kB / 0.5613 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-06/0.257, allocations: 0 / 0.5613 GB, free: 2.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-06/0.257, allocations: 11.98 kB / 0.5613 GB, free: 2.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.2571, allocations: 56.27 kB / 0.5613 GB, free: 1.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.2571, allocations: 4 kB / 0.5613 GB, free: 1.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.553e-05/0.2572, allocations: 59.41 kB / 0.5614 GB, free: 1.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.2572, allocations: 33.7 kB / 0.5614 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2572, allocations: 7.922 kB / 0.5614 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2572, allocations: 3.984 kB / 0.5614 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.2572, allocations: 0 / 0.5614 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2572, allocations: 3.938 kB / 0.5614 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.281e-05/0.2572, allocations: 4.094 kB / 0.5614 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.2572, allocations: 0 / 0.5614 GB, free: 1.828 MB / 398.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.448e-05/0.2573, allocations: 135.5 kB / 0.5616 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.2573, allocations: 4 kB / 0.5616 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.884e-06/0.2573, allocations: 7.062 kB / 0.5616 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.2573, allocations: 4 kB / 0.5616 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2573, allocations: 3.984 kB / 0.5616 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.2573, allocations: 3.938 kB / 0.5616 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.2574, allocations: 145.7 kB / 0.5617 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2574, allocations: 4 kB / 0.5617 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.2574, allocations: 0 / 0.5617 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.2574, allocations: 0 / 0.5617 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2574, allocations: 11.94 kB / 0.5617 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.2574, allocations: 0 / 0.5617 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2575, allocations: 0 / 0.5617 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.108e-05/0.2575, allocations: 90.83 kB / 0.5618 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.2576, allocations: 81.14 kB / 0.5619 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2576, allocations: 3.938 kB / 0.5619 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-06/0.2576, allocations: 3.938 kB / 0.5619 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.2576, allocations: 3.938 kB / 0.5619 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.2576, allocations: 4 kB / 0.5619 GB, free: 1.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.029e-05/0.2576, allocations: 79.27 kB / 0.562 GB, free: 1.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2576, allocations: 0 / 0.562 GB, free: 1.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.2579, allocations: 51.88 kB / 0.562 GB, free: 1.098 MB / 398.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.0006367/0.2585, allocations: 0.7201 MB / 0.5628 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.879e-05/0.2586, allocations: 55.41 kB / 0.5628 GB, free: 288 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2586, allocations: 3.938 kB / 0.5628 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.2587, allocations: 59.5 kB / 0.5629 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.2588, allocations: 4.062 kB / 0.5629 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.259, allocations: 126.6 kB / 0.563 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.2593, allocations: 0.6728 MB / 0.5636 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.228e-06/0.2593, allocations: 0 / 0.5636 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.128e-05/0.2593, allocations: 7.438 kB / 0.5637 GB, free: 15.33 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2593, allocations: 0 / 0.5637 GB, free: 15.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.28, allocations: 2.42 MB / 0.566 GB, free: 12.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/7.176, allocations: 8.062 kB / 0.566 GB, free: 12.96 MB / 414.1 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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: 9.640708230988821]