Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.001384/0.001384, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001493/0.001493, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.47/1.47, allocations: 230.5 MB / 258.2 MB, free: 8.238 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.2248/0.2248, allocations: 46.93 MB / 361.6 MB, free: 4.277 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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.002267/0.002267, allocations: 79.88 kB / 0.497 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3161, allocations: 66.09 MB / 0.5615 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001566/0.3177, allocations: 0.4916 MB / 0.562 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003124/0.318, allocations: 95.72 kB / 0.5621 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.318, allocations: 4 kB / 0.5621 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.3181, allocations: 0 / 0.5621 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.994e-05/0.3181, allocations: 3.938 kB / 0.5621 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.3183, allocations: 11.92 kB / 0.5621 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.832e-05/0.3183, allocations: 19.97 kB / 0.5621 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.3183, allocations: 0 / 0.5621 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.551e-05/0.3184, allocations: 11.94 kB / 0.5621 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.3184, allocations: 7.984 kB / 0.5621 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.3184, allocations: 0 / 0.5621 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.109e-05/0.3185, allocations: 31.97 kB / 0.5622 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.3185, allocations: 7.938 kB / 0.5622 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.3185, allocations: 3.984 kB / 0.5622 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.678e-05/0.3186, allocations: 25.88 kB / 0.5622 GB, free: 3.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3186, allocations: 4 kB / 0.5622 GB, free: 3.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3186, allocations: 0 / 0.5622 GB, free: 3.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.3186, allocations: 0 / 0.5622 GB, free: 3.652 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003797/0.319, allocations: 254.3 kB / 0.5624 GB, free: 3.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3191, allocations: 16.02 kB / 0.5625 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.3191, allocations: 34.75 kB / 0.5625 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.892e-05/0.3191, allocations: 4.938 kB / 0.5625 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.496e-05/0.3192, allocations: 110.5 kB / 0.5626 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3192, allocations: 4.359 kB / 0.5626 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3192, allocations: 384 / 0.5626 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.3194, allocations: 55.97 kB / 0.5627 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3194, allocations: 3.938 kB / 0.5627 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3194, allocations: 4 kB / 0.5627 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3194, allocations: 0 / 0.5627 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.433e-05/0.3194, allocations: 15.92 kB / 0.5627 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.3198, allocations: 292.2 kB / 0.563 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.983e-05/0.3198, allocations: 26.52 kB / 0.563 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.3199, allocations: 16.94 kB / 0.563 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.3199, allocations: 0 / 0.563 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.3199, allocations: 38.56 kB / 0.563 GB, free: 2.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.3199, allocations: 0 / 0.563 GB, free: 2.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001733/0.3201, allocations: 57.58 kB / 0.5631 GB, free: 2.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3201, allocations: 59.34 kB / 0.5632 GB, free: 2.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.503e-05/0.3202, allocations: 93.86 kB / 0.5632 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.3202, allocations: 25.7 kB / 0.5633 GB, free: 2.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.3203, allocations: 84.14 kB / 0.5633 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.3203, allocations: 19.83 kB / 0.5634 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.3203, allocations: 17.84 kB / 0.5634 GB, free: 2.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3205, allocations: 314.8 kB / 0.5637 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.3205, allocations: 4 kB / 0.5637 GB, free: 1.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.158e-05/0.3205, allocations: 25.7 kB / 0.5637 GB, free: 1.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.382e-05/0.3206, allocations: 29.59 kB / 0.5637 GB, free: 1.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3206, allocations: 3.938 kB / 0.5637 GB, free: 1.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.546e-05/0.3207, allocations: 65.75 kB / 0.5638 GB, free: 1.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3207, allocations: 4 kB / 0.5638 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3207, allocations: 4 kB / 0.5638 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3207, allocations: 0 / 0.5638 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.3208, allocations: 11.98 kB / 0.5638 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3208, allocations: 3.984 kB / 0.5638 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.3208, allocations: 7.953 kB / 0.5638 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.3208, allocations: 0 / 0.5638 GB, free: 1.762 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.773e-05/0.3209, allocations: 113.8 kB / 0.5639 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.3209, allocations: 8.031 kB / 0.564 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.321, allocations: 57.31 kB / 0.564 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.321, allocations: 4 kB / 0.564 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.321, allocations: 3.984 kB / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.321, allocations: 0 / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.3212, allocations: 132.7 kB / 0.5641 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3212, allocations: 0 / 0.5641 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.3212, allocations: 8.234 kB / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.3212, allocations: 0 / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.3212, allocations: 0 / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3212, allocations: 8 kB / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3212, allocations: 0 / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.3214, allocations: 151.5 kB / 0.5643 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.3214, allocations: 7.891 kB / 0.5643 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.3214, allocations: 11.94 kB / 0.5643 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-05/0.3215, allocations: 3.938 kB / 0.5643 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.3215, allocations: 3.984 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.3215, allocations: 4.125 kB / 0.5643 GB, free: 1.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.657e-05/0.3215, allocations: 83.28 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3215, allocations: 0 / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.3217, allocations: 4 kB / 0.5644 GB, free: 1.086 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 (5): * Single equations (assignments): 5 * 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.000461/0.3222, allocations: 0.6851 MB / 0.5651 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.969e-05/0.3223, allocations: 32.02 kB / 0.5651 GB, free: 348 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3223, allocations: 0 / 0.5651 GB, free: 348 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.3223, allocations: 8 kB / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.3225, allocations: 8 kB / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.3229, allocations: 142.6 kB / 0.5653 GB, free: 148 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.3232, allocations: 0.6767 MB / 0.5659 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.236e-05/0.3233, allocations: 15.98 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.3233, allocations: 7.438 kB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3233, allocations: 0 / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.3469, allocations: 1.31 MB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/8.046, allocations: 7.438 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.793111088685691] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'k1', 'k2'] 8.116925998125225 8.142947934 7.819834098 Calling exit ...