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.001408/0.001408, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001601/0.001601, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.477/1.477, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.261/0.261, allocations: 46.94 MB / 361.6 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 179] 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.00241/0.00241, allocations: 75.88 kB / 0.497 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3769, allocations: 66.09 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.00177/0.3786, allocations: 0.5228 MB / 0.562 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004797/0.3791, allocations: 167.3 kB / 0.5622 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.3791, allocations: 0 / 0.5622 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.3792, allocations: 7.938 kB / 0.5622 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.3794, allocations: 43.83 kB / 0.5622 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.049e-06/0.3794, allocations: 0 / 0.5622 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.571e-05/0.3795, allocations: 19.92 kB / 0.5622 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.3796, allocations: 0 / 0.5622 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.3796, allocations: 11.92 kB / 0.5622 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.3797, allocations: 23.84 kB / 0.5623 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.3797, allocations: 4 kB / 0.5623 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.3798, allocations: 47.95 kB / 0.5623 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.305e-06/0.3798, allocations: 0 / 0.5623 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.3798, allocations: 19.86 kB / 0.5623 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.38, allocations: 41.8 kB / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.38, allocations: 0 / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.38, allocations: 0 / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.38, 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.0003648/0.3803, allocations: 266.2 kB / 0.5626 GB, free: 3.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3804, allocations: 12.03 kB / 0.5626 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.402e-05/0.3804, allocations: 34.75 kB / 0.5627 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.3805, allocations: 4.938 kB / 0.5627 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.3806, allocations: 106.5 kB / 0.5628 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3806, allocations: 12.38 kB / 0.5628 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.3806, allocations: 384 / 0.5628 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.3808, allocations: 58.23 kB / 0.5629 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3808, allocations: 3.938 kB / 0.5629 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3808, allocations: 3.984 kB / 0.5629 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3808, allocations: 0 / 0.5629 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.3809, allocations: 59.89 kB / 0.5629 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.3811, allocations: 148.6 kB / 0.5631 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.3813, allocations: 78.55 kB / 0.5631 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.3813, allocations: 28.84 kB / 0.5632 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.3816, allocations: 19.98 kB / 0.5632 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.3816, allocations: 34.78 kB / 0.5632 GB, free: 2.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.3816, allocations: 0 / 0.5632 GB, free: 2.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002739/0.3819, allocations: 105.5 kB / 0.5633 GB, free: 2.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3819, allocations: 55.41 kB / 0.5634 GB, free: 2.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.382, allocations: 101.8 kB / 0.5635 GB, free: 2.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.382, allocations: 25.7 kB / 0.5635 GB, free: 2.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.3821, allocations: 80.14 kB / 0.5636 GB, free: 2.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.3821, allocations: 35.69 kB / 0.5636 GB, free: 2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.3822, allocations: 29.7 kB / 0.5636 GB, free: 1.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3823, allocations: 310.8 kB / 0.5639 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.695e-05/0.3824, allocations: 20.05 kB / 0.5639 GB, free: 1.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.3824, allocations: 24 kB / 0.564 GB, free: 1.609 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.161e-05/0.3825, allocations: 53.34 kB / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3825, allocations: 0 / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000137/0.3826, allocations: 89.58 kB / 0.5641 GB, free: 1.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3826, allocations: 7.938 kB / 0.5641 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3826, allocations: 3.938 kB / 0.5641 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3827, allocations: 4 kB / 0.5641 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.3828, allocations: 19.98 kB / 0.5641 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3828, allocations: 0 / 0.5641 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.3828, allocations: 4 kB / 0.5641 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.3828, allocations: 4 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.766e-05/0.3829, allocations: 110.7 kB / 0.5642 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.3829, allocations: 11.89 kB / 0.5643 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.3831, allocations: 97.52 kB / 0.5644 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3831, allocations: 7.984 kB / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3831, allocations: 0 / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3831, allocations: 0 / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.3833, allocations: 140.7 kB / 0.5645 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3833, allocations: 4 kB / 0.5645 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.3833, allocations: 19.92 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3833, allocations: 3.938 kB / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.3834, allocations: 8 kB / 0.5645 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3834, allocations: 0 / 0.5645 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3834, allocations: 0 / 0.5645 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.3835, allocations: 113 kB / 0.5646 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-06/0.3835, allocations: 0 / 0.5646 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3836, allocations: 11.94 kB / 0.5646 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.35e-05/0.3836, allocations: 4 kB / 0.5647 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.3836, allocations: 4.266 kB / 0.5647 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.3836, allocations: 4 kB / 0.5647 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.151e-05/0.3836, allocations: 75.28 kB / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3836, allocations: 3.938 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001991/0.3838, allocations: 16 kB / 0.5647 GB, free: 0.7148 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.0005499/0.3844, allocations: 0.667 MB / 0.5654 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.3846, allocations: 56.02 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3846, allocations: 0 / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.3846, allocations: 23.94 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.3848, allocations: 8 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.00048/0.3852, allocations: 174.6 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3856, allocations: 0.6807 MB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.045e-05/0.3856, allocations: 11.78 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.3856, allocations: 11.44 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3856, allocations: 0 / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.4098, allocations: 1.605 MB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/8.093, allocations: 8 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 & /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.019876063801348] 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.163496943190694 8.19523715 7.809321144 Calling exit ...