Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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: 109.2 kB / 20.42 MB, free: 1.684 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.001458/0.001458, allocations: 219.6 kB / 23.72 MB, free: 5.051 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.436/1.436, allocations: 230.2 MB / 257.1 MB, free: 8.488 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.2313/0.2313, allocations: 46.9 MB / 360.3 MB, free: 4.633 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.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.002333/0.002333, allocations: 84.14 kB / 0.4955 GB, free: 8.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.366, allocations: 65.99 MB / 0.56 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001749/0.3678, allocations: 0.5292 MB / 0.5605 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004382/0.3682, allocations: 167.4 kB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.3683, allocations: 4 kB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.3683, allocations: 3.938 kB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.3685, allocations: 39.81 kB / 0.5607 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.118e-06/0.3685, allocations: 0 / 0.5607 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.877e-05/0.3686, allocations: 19.92 kB / 0.5607 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.3687, allocations: 4 kB / 0.5607 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.441e-05/0.3687, allocations: 7.938 kB / 0.5607 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.3688, allocations: 19.91 kB / 0.5607 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.3688, allocations: 4 kB / 0.5607 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.3689, allocations: 47.95 kB / 0.5608 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.3689, allocations: 7.922 kB / 0.5608 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.3689, allocations: 15.88 kB / 0.5608 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.369, allocations: 41.64 kB / 0.5608 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.369, allocations: 4 kB / 0.5608 GB, free: 4.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.369, allocations: 0 / 0.5608 GB, free: 4.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3691, allocations: 0 / 0.5608 GB, free: 4.055 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004016/0.3695, allocations: 339.3 kB / 0.5612 GB, free: 3.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3695, allocations: 12.03 kB / 0.5612 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.3695, allocations: 38.73 kB / 0.5612 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.3696, allocations: 4.938 kB / 0.5612 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.3697, allocations: 160.4 kB / 0.5614 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3697, allocations: 12.31 kB / 0.5614 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.3697, allocations: 384 / 0.5614 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.3699, allocations: 58.23 kB / 0.5614 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3699, allocations: 3.938 kB / 0.5614 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3699, allocations: 4 kB / 0.5615 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3699, allocations: 0 / 0.5615 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.37, allocations: 51.95 kB / 0.5615 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.3702, allocations: 185.4 kB / 0.5617 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.3704, allocations: 70.55 kB / 0.5617 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.3704, allocations: 32.84 kB / 0.5618 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003828/0.3708, allocations: 247.3 kB / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.3708, allocations: 34.56 kB / 0.562 GB, free: 2.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.3708, allocations: 0 / 0.562 GB, free: 2.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002613/0.3711, allocations: 105.8 kB / 0.5621 GB, free: 2.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3711, allocations: 55.41 kB / 0.5622 GB, free: 2.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/0.3712, allocations: 93.86 kB / 0.5623 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3712, allocations: 29.64 kB / 0.5623 GB, free: 2.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.3713, allocations: 88.06 kB / 0.5624 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.3713, allocations: 35.69 kB / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.3714, allocations: 29.83 kB / 0.5625 GB, free: 2.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3715, allocations: 314.8 kB / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.3716, allocations: 19.98 kB / 0.5628 GB, free: 1.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.15e-05/0.3716, allocations: 16 kB / 0.5628 GB, free: 1.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.994e-05/0.3717, allocations: 53.41 kB / 0.5628 GB, free: 1.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3717, allocations: 4 kB / 0.5629 GB, free: 1.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001372/0.3718, allocations: 89.52 kB / 0.5629 GB, free: 1.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3719, allocations: 11.94 kB / 0.5629 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3719, allocations: 3.984 kB / 0.563 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3719, allocations: 4 kB / 0.563 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.372, allocations: 19.92 kB / 0.563 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.372, allocations: 0 / 0.563 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.372, allocations: 4 kB / 0.563 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.372, allocations: 0 / 0.563 GB, free: 1.578 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.983e-05/0.3721, allocations: 113.8 kB / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.3721, allocations: 7.891 kB / 0.5631 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.3723, allocations: 101.6 kB / 0.5632 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3723, allocations: 4 kB / 0.5632 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3723, allocations: 0 / 0.5632 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.3723, allocations: 3.984 kB / 0.5632 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.3725, allocations: 169.6 kB / 0.5634 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3725, allocations: 0 / 0.5634 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.65e-05/0.3726, allocations: 15.98 kB / 0.5634 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3726, allocations: 7.938 kB / 0.5634 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.3726, allocations: 0 / 0.5634 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3726, allocations: 0 / 0.5634 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3726, allocations: 0 / 0.5634 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.3727, allocations: 117 kB / 0.5635 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.3728, allocations: 81.09 kB / 0.5636 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.3728, allocations: 7.938 kB / 0.5636 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.521e-05/0.3728, allocations: 4 kB / 0.5636 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.3728, allocations: 8.266 kB / 0.5636 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.3728, allocations: 3.938 kB / 0.5636 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.094e-05/0.3729, allocations: 83.27 kB / 0.5637 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3729, allocations: 7.875 kB / 0.5637 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000208/0.3731, allocations: 16.09 kB / 0.5637 GB, free: 0.7422 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0005055/0.3736, allocations: 0.6591 MB / 0.5643 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.3737, allocations: 51.92 kB / 0.5644 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3737, allocations: 0 / 0.5644 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.084e-05/0.3738, allocations: 27.98 kB / 0.5644 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.3739, allocations: 10.41 kB / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.3744, allocations: 170.6 kB / 0.5646 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.3747, allocations: 0.6807 MB / 0.5653 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.799e-05/0.3747, allocations: 15.77 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.3748, allocations: 15.44 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3748, allocations: 0 / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.3976, allocations: 1.548 MB / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.371, allocations: 12.47 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.185710296034813] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'sqrtx', 'sqrtx_a', 'x2', 'x2_a', 'x3', 'x3_a', 'sqrtxerr', 'x2err', 'x3err'] 8.443463575094938 8.468631239 8.096013406 Calling exit ...