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.001732/0.001732, 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.002152/0.002152, allocations: 213.2 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.474/1.474, 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.2441/0.2441, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.002297/0.002297, allocations: 79.88 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4117, allocations: 66.08 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001794/0.4135, allocations: 0.53 MB / 0.562 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004772/0.414, allocations: 163.5 kB / 0.5622 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.414, allocations: 4 kB / 0.5622 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.414, allocations: 7.875 kB / 0.5622 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.4143, allocations: 35.83 kB / 0.5622 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.4143, allocations: 0 / 0.5622 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.306e-05/0.4144, allocations: 19.92 kB / 0.5622 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.4144, allocations: 4 kB / 0.5622 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.008e-05/0.4144, allocations: 15.94 kB / 0.5623 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.4145, allocations: 15.91 kB / 0.5623 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.4145, allocations: 0 / 0.5623 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.4146, allocations: 47.95 kB / 0.5623 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.4146, allocations: 7.922 kB / 0.5623 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.4146, allocations: 11.94 kB / 0.5623 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.4148, allocations: 49.72 kB / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.4148, allocations: 0 / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4148, allocations: 0 / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4148, allocations: 0 / 0.5624 GB, free: 3.422 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.0003293/0.4151, allocations: 270.2 kB / 0.5626 GB, free: 3.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4151, allocations: 8.031 kB / 0.5626 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.4152, allocations: 34.73 kB / 0.5627 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.4152, allocations: 8.938 kB / 0.5627 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.4153, allocations: 110.5 kB / 0.5628 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.4153, allocations: 4.375 kB / 0.5628 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.4153, allocations: 4.375 kB / 0.5628 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.4155, allocations: 62.17 kB / 0.5629 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4155, allocations: 3.938 kB / 0.5629 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4155, allocations: 4 kB / 0.5629 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4155, allocations: 4 kB / 0.5629 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.4156, allocations: 51.95 kB / 0.5629 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.4158, allocations: 148.6 kB / 0.5631 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.416, allocations: 70.55 kB / 0.5631 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.416, allocations: 24.86 kB / 0.5632 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/0.4163, allocations: 27.97 kB / 0.5632 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.4163, allocations: 34.56 kB / 0.5632 GB, free: 2.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.4163, allocations: 0 / 0.5632 GB, free: 2.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002431/0.4165, allocations: 105.8 kB / 0.5633 GB, free: 2.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.4166, allocations: 55.41 kB / 0.5634 GB, free: 2.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.307e-05/0.4166, allocations: 93.8 kB / 0.5635 GB, free: 2.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.4167, allocations: 25.7 kB / 0.5635 GB, free: 2.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.4167, allocations: 88.25 kB / 0.5636 GB, free: 2.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.4167, allocations: 39.69 kB / 0.5636 GB, free: 1.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.4168, allocations: 21.72 kB / 0.5636 GB, free: 1.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4169, allocations: 314.8 kB / 0.5639 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.654e-05/0.417, allocations: 20 kB / 0.5639 GB, free: 1.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.417, allocations: 19.98 kB / 0.564 GB, free: 1.613 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.791e-05/0.4171, allocations: 53.3 kB / 0.564 GB, free: 1.559 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4171, allocations: 0 / 0.564 GB, free: 1.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001306/0.4172, allocations: 89.56 kB / 0.5641 GB, free: 1.465 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.4173, allocations: 18.12 kB / 0.5641 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.4173, allocations: 3.984 kB / 0.5641 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4173, allocations: 0 / 0.5641 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.4174, allocations: 15.94 kB / 0.5641 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.4174, allocations: 0 / 0.5641 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.4174, allocations: 8 kB / 0.5641 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.4174, allocations: 3.984 kB / 0.5641 GB, free: 1.418 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.685e-05/0.4175, allocations: 114.7 kB / 0.5643 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.4175, allocations: 7.891 kB / 0.5643 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.4177, allocations: 105.5 kB / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4177, allocations: 0 / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4177, allocations: 0 / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4177, allocations: 0 / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.4179, allocations: 144.7 kB / 0.5645 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4179, allocations: 0 / 0.5645 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.377e-05/0.418, allocations: 20 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.418, allocations: 3.938 kB / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.418, allocations: 0 / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.418, allocations: 0 / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.418, allocations: 3.984 kB / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.4181, allocations: 121.1 kB / 0.5646 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.4181, allocations: 4 kB / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.4182, allocations: 3.938 kB / 0.5646 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.347e-05/0.4182, allocations: 0 / 0.5646 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.4182, allocations: 11.92 kB / 0.5647 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.4182, allocations: 4 kB / 0.5647 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.799e-05/0.4183, allocations: 83.28 kB / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4183, allocations: 0 / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001996/0.4185, allocations: 11.98 kB / 0.5648 GB, free: 0.7109 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.0004977/0.419, allocations: 0.6669 MB / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.4191, allocations: 51.86 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4191, allocations: 4.094 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-05/0.4192, allocations: 27.98 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.4193, allocations: 7.938 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.4198, allocations: 166.6 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.4201, allocations: 0.684 MB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.663e-05/0.4202, allocations: 11.77 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.4202, allocations: 19.44 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4202, allocations: 0 / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.4433, allocations: 1.589 MB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.482/7.925, allocations: 7.875 kB / 0.5679 GB, free: 13.45 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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: 10.96092197112739] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'sqrtx', 'sqrtx_a', 'x2', 'x2_a', 'x3', 'x3_a', 'sqrtxerr', 'x2err', 'x3err'] 7.991517297923565 8.006508518 7.588785999 Calling exit ...