Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.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.00127/0.00127, allocations: 114.2 kB / 20.22 MB, free: 1.793 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.001365/0.001365, allocations: 210.2 kB / 23.48 MB, free: 5.227 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.525/1.525, allocations: 230.2 MB / 256.8 MB, free: 8.574 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.2333/0.2333, allocations: 46.88 MB / 360 MB, free: 4.738 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.Utilities.TestInternal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestInternal",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.002329/0.002329, allocations: 79.86 kB / 0.4951 GB, free: 8.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3274, allocations: 65.99 MB / 0.5595 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001579/0.3289, allocations: 487.4 kB / 0.56 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006634/0.3296, allocations: 261.5 kB / 0.5602 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.3296, allocations: 4 kB / 0.5602 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.3296, allocations: 0 / 0.5602 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.634e-06/0.3297, allocations: 0 / 0.5602 GB, free: 4.254 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Utilities.mo:398:3-453:15:writable] Warning: Pure function 'ModelicaTest.Utilities.Internal' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.33, allocations: 59.75 kB / 0.5603 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.345e-05/0.33, allocations: 4 kB / 0.5603 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.3301, allocations: 3.984 kB / 0.5603 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.3301, allocations: 0 / 0.5603 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.213e-05/0.3301, allocations: 0 / 0.5603 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.3301, allocations: 4 kB / 0.5603 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.3303, allocations: 63.95 kB / 0.5604 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.3303, allocations: 3.984 kB / 0.5604 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.3303, allocations: 4 kB / 0.5604 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.3305, allocations: 51.67 kB / 0.5604 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3305, allocations: 7.938 kB / 0.5604 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3305, allocations: 0 / 0.5604 GB, free: 4.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3305, allocations: 0 / 0.5604 GB, free: 4.059 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.0003828/0.3309, allocations: 359.1 kB / 0.5608 GB, free: 3.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3309, allocations: 8.031 kB / 0.5608 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.3309, allocations: 30.75 kB / 0.5608 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.331, allocations: 4.938 kB / 0.5608 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3311, allocations: 168.4 kB / 0.561 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3311, allocations: 384 / 0.561 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-06/0.3311, allocations: 384 / 0.561 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.151e-05/0.3312, allocations: 30.27 kB / 0.561 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3312, allocations: 3.938 kB / 0.561 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.3312, allocations: 0 / 0.561 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3312, allocations: 0 / 0.561 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.3312, allocations: 7.938 kB / 0.561 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.3314, allocations: 149.7 kB / 0.5611 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.905e-05/0.3314, allocations: 18.58 kB / 0.5612 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.3314, allocations: 4.859 kB / 0.5612 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-06/0.3314, allocations: 0 / 0.5612 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/0.3315, allocations: 60.36 kB / 0.5612 GB, free: 3.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3315, allocations: 0 / 0.5612 GB, free: 3.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001931/0.3317, allocations: 75.27 kB / 0.5613 GB, free: 2.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.3317, allocations: 81.17 kB / 0.5614 GB, free: 2.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.048e-05/0.3318, allocations: 97.81 kB / 0.5615 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3318, allocations: 25.7 kB / 0.5615 GB, free: 2.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.3319, allocations: 84.12 kB / 0.5616 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.3319, allocations: 0 / 0.5616 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.3319, allocations: 17.72 kB / 0.5616 GB, free: 2.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3321, allocations: 310.8 kB / 0.5619 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/0.3321, allocations: 0 / 0.5619 GB, free: 2.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.3321, allocations: 7.938 kB / 0.5619 GB, free: 2.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.982e-05/0.3321, allocations: 64.31 kB / 0.562 GB, free: 2.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3321, allocations: 0 / 0.562 GB, free: 2.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.5e-05/0.3322, allocations: 67.34 kB / 0.562 GB, free: 2.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.3323, allocations: 33.7 kB / 0.5621 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3323, allocations: 3.938 kB / 0.5621 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3323, allocations: 0 / 0.5621 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.3323, allocations: 0 / 0.5621 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.3323, allocations: 0 / 0.5621 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.587e-05/0.3323, allocations: 3.984 kB / 0.5621 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.3323, allocations: 8.031 kB / 0.5621 GB, free: 2.086 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.884e-05/0.3324, allocations: 135.5 kB / 0.5622 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.3324, allocations: 0 / 0.5622 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.253e-05/0.3324, allocations: 7.062 kB / 0.5622 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3324, allocations: 0 / 0.5622 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3324, allocations: 4 kB / 0.5622 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.3324, allocations: 0 / 0.5622 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.3325, allocations: 145.7 kB / 0.5623 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3325, allocations: 0 / 0.5623 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.3325, allocations: 4 kB / 0.5623 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3326, allocations: 3.984 kB / 0.5624 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3326, allocations: 7.938 kB / 0.5624 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.3326, allocations: 0 / 0.5624 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3326, allocations: 0 / 0.5624 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.3327, allocations: 90.77 kB / 0.5624 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.3327, allocations: 85.11 kB / 0.5625 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3327, allocations: 3.938 kB / 0.5625 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-06/0.3327, allocations: 4.031 kB / 0.5625 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-06/0.3328, allocations: 3.938 kB / 0.5625 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.3328, allocations: 0 / 0.5625 GB, free: 1.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.231e-05/0.3328, allocations: 79.28 kB / 0.5626 GB, free: 1.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3328, allocations: 0 / 0.5626 GB, free: 1.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.333, allocations: 19.92 kB / 0.5626 GB, free: 1.395 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.001079/0.3341, allocations: 0.8087 MB / 0.5634 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.3342, allocations: 59.41 kB / 0.5635 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3342, allocations: 0 / 0.5635 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.967e-05/0.3342, allocations: 51.41 kB / 0.5635 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.3344, allocations: 10.03 kB / 0.5635 GB, free: 480 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.3347, allocations: 118.6 kB / 0.5637 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.335, allocations: 0.6769 MB / 0.5643 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.091e-06/0.335, allocations: 0 / 0.5643 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.43e-05/0.335, allocations: 11.44 kB / 0.5643 GB, free: 15.6 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.335, allocations: 0 / 0.5643 GB, free: 15.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.3592, allocations: 1.613 MB / 0.5659 GB, free: 14.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.645/9.004, allocations: 9.594 kB / 0.5659 GB, free: 14.03 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal_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_Utilities_TestInternal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.965539904893376] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 9.073228892986663 9.09057185 8.756696311 Calling exit ...