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.001753/0.001753, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002151/0.002151, allocations: 212 kB / 24.54 MB, free: 4.016 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.45/1.45, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2243/0.2243, allocations: 46.94 MB / 361.6 MB, free: 4.195 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.002287/0.002287, allocations: 79.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3088, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001681/0.3105, allocations: 0.4927 MB / 0.562 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.3114, allocations: 385.3 kB / 0.5623 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.729e-05/0.3114, allocations: 4 kB / 0.5623 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.3114, allocations: 0 / 0.5623 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.991e-06/0.3114, allocations: 0 / 0.5623 GB, free: 3.449 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.0008022/0.3122, allocations: 203.5 kB / 0.5625 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.292e-05/0.3123, allocations: 4 kB / 0.5625 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.3123, allocations: 3.984 kB / 0.5625 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.256e-05/0.3123, allocations: 0 / 0.5625 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.61e-05/0.3123, allocations: 4 kB / 0.5625 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-06/0.3123, allocations: 4 kB / 0.5625 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.3127, allocations: 227.6 kB / 0.5628 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-06/0.3127, allocations: 3.938 kB / 0.5628 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.3128, allocations: 7.984 kB / 0.5628 GB, free: 3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.313, allocations: 149.6 kB / 0.5629 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.313, allocations: 0 / 0.5629 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.313, allocations: 0 / 0.5629 GB, free: 2.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.313, allocations: 3.984 kB / 0.5629 GB, free: 2.852 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.0003627/0.3134, allocations: 299.9 kB / 0.5632 GB, free: 2.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3134, allocations: 16.03 kB / 0.5632 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.3134, allocations: 30.75 kB / 0.5633 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.3135, allocations: 0.9375 kB / 0.5633 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.972e-05/0.3135, allocations: 102.5 kB / 0.5634 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.3136, allocations: 384 / 0.5634 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.3136, allocations: 4.375 kB / 0.5634 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.857e-05/0.3136, allocations: 30.27 kB / 0.5634 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.3137, allocations: 3.938 kB / 0.5634 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.3137, allocations: 0 / 0.5634 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.3137, allocations: 4 kB / 0.5634 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.709e-05/0.3137, allocations: 7.938 kB / 0.5634 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.3138, allocations: 116.8 kB / 0.5635 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.617e-05/0.3139, allocations: 18.61 kB / 0.5635 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.3139, allocations: 8.859 kB / 0.5635 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.3139, allocations: 0 / 0.5635 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/0.3139, allocations: 56.27 kB / 0.5636 GB, free: 2.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.3139, allocations: 4 kB / 0.5636 GB, free: 2.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001679/0.3141, allocations: 75.28 kB / 0.5637 GB, free: 1.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.3142, allocations: 81.11 kB / 0.5637 GB, free: 1.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.942e-05/0.3142, allocations: 89.86 kB / 0.5638 GB, free: 1.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3142, allocations: 29.64 kB / 0.5639 GB, free: 1.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.3143, allocations: 84.14 kB / 0.5639 GB, free: 1.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.3143, allocations: 0 / 0.5639 GB, free: 1.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.3143, allocations: 13.72 kB / 0.564 GB, free: 1.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3145, allocations: 319 kB / 0.5643 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.3145, allocations: 0 / 0.5643 GB, free: 1.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-06/0.3145, allocations: 0 / 0.5643 GB, free: 1.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/0.3145, allocations: 60.27 kB / 0.5643 GB, free: 1.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3145, allocations: 0 / 0.5643 GB, free: 1.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.199e-05/0.3146, allocations: 71.34 kB / 0.5644 GB, free: 1.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/0.3147, allocations: 36.19 kB / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3147, allocations: 3.938 kB / 0.5644 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3147, allocations: 4.094 kB / 0.5644 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.3147, allocations: 4 kB / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3147, allocations: 0 / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.386e-05/0.3147, allocations: 3.938 kB / 0.5644 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3147, allocations: 0 / 0.5644 GB, free: 1.062 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 9.501e-05/0.3148, allocations: 135.5 kB / 0.5646 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-06/0.3148, allocations: 0 / 0.5646 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.187e-05/0.3148, allocations: 6.938 kB / 0.5646 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3148, allocations: 0 / 0.5646 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.3148, allocations: 4 kB / 0.5646 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3148, allocations: 3.984 kB / 0.5646 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.3149, allocations: 120.8 kB / 0.5647 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3149, allocations: 0 / 0.5647 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.3149, allocations: 0 / 0.5647 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3149, allocations: 0 / 0.5647 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.315, allocations: 3.938 kB / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.315, allocations: 0 / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.315, allocations: 4 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.3151, allocations: 94.77 kB / 0.5648 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.3151, allocations: 7.984 kB / 0.5648 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.3151, allocations: 3.938 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-06/0.3151, allocations: 0 / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.3151, allocations: 0 / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3151, allocations: 3.984 kB / 0.5648 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.503e-05/0.3152, allocations: 79.22 kB / 0.5649 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3152, allocations: 4 kB / 0.5649 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000281/0.3154, allocations: 51.88 kB / 0.5649 GB, free: 476 kB / 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.0007456/0.3162, allocations: 0.718 MB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.3163, allocations: 67.38 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3163, allocations: 0 / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.792e-05/0.3163, allocations: 55.41 kB / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.3164, allocations: 0 / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.3168, allocations: 122.6 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.3171, allocations: 0.669 MB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.39e-06/0.3171, allocations: 0 / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.3171, allocations: 15.42 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3171, allocations: 0 / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.3394, allocations: 2.446 MB / 0.5689 GB, free: 12.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.321, allocations: 0 / 0.5689 GB, free: 12.31 MB / 414.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 & /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: 11.093565117102116] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.392567185219377 8.420593065 8.102419434 Calling exit ...