Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002182/0.002182, allocations: 213.4 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2204/0.2204, allocations: 44.93 MB / 359.6 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 69.78 kB / 0.4938 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.312, allocations: 65.46 MB / 0.5577 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001631/0.3137, allocations: 0.5107 MB / 0.5582 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002832/0.314, allocations: 84.98 kB / 0.5583 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.154e-05/0.314, allocations: 3.938 kB / 0.5583 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.314, allocations: 0 / 0.5583 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.099e-05/0.314, allocations: 5.062 kB / 0.5583 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.3142, allocations: 19.56 kB / 0.5583 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.721e-05/0.3142, allocations: 10.59 kB / 0.5583 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.3143, allocations: 5.234 kB / 0.5583 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.475e-05/0.3143, allocations: 6.562 kB / 0.5583 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.431e-05/0.3143, allocations: 7.5 kB / 0.5583 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.3144, allocations: 0 / 0.5583 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.652e-05/0.3144, allocations: 31.03 kB / 0.5584 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.3145, allocations: 5.234 kB / 0.5584 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.3145, allocations: 9.203 kB / 0.5584 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.576e-05/0.3146, allocations: 31.36 kB / 0.5584 GB, free: 6.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3146, allocations: 0 / 0.5584 GB, free: 6.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3146, allocations: 0 / 0.5584 GB, free: 6.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3146, allocations: 0.9688 kB / 0.5584 GB, free: 6.832 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.0003661/0.3149, allocations: 257.2 kB / 0.5587 GB, free: 6.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.315, allocations: 8.875 kB / 0.5587 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.417e-05/0.315, allocations: 1.188 kB / 0.5587 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.315, allocations: 35.88 kB / 0.5587 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.315, allocations: 1.938 kB / 0.5587 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.037e-05/0.3151, allocations: 104.5 kB / 0.5588 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.3151, allocations: 9.5 kB / 0.5588 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.3152, allocations: 2.469 kB / 0.5588 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.3153, allocations: 58.94 kB / 0.5589 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3153, allocations: 0 / 0.5589 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.3153, allocations: 3.938 kB / 0.5589 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3153, allocations: 0 / 0.5589 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.682e-05/0.3153, allocations: 19.92 kB / 0.5589 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.3156, allocations: 296.2 kB / 0.5592 GB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.942e-05/0.3157, allocations: 22.58 kB / 0.5592 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.3157, allocations: 12.94 kB / 0.5592 GB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.3158, allocations: 8 kB / 0.5592 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.3158, allocations: 30.56 kB / 0.5593 GB, free: 5.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3158, allocations: 0 / 0.5593 GB, free: 5.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002027/0.316, allocations: 61.58 kB / 0.5593 GB, free: 5.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.316, allocations: 51.41 kB / 0.5594 GB, free: 5.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.918e-05/0.3161, allocations: 97.86 kB / 0.5595 GB, free: 5.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.3161, allocations: 25.7 kB / 0.5595 GB, free: 5.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.3162, allocations: 84.14 kB / 0.5596 GB, free: 5.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.3162, allocations: 15.83 kB / 0.5596 GB, free: 5.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.3162, allocations: 17.72 kB / 0.5596 GB, free: 5.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3164, allocations: 315 kB / 0.5599 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.535e-05/0.3164, allocations: 8 kB / 0.5599 GB, free: 5.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.363e-05/0.3164, allocations: 25.7 kB / 0.5599 GB, free: 5.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.201e-05/0.3165, allocations: 37.7 kB / 0.56 GB, free: 5.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3165, allocations: 4 kB / 0.56 GB, free: 5.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.49e-05/0.3166, allocations: 53.69 kB / 0.56 GB, free: 5.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.3166, allocations: 7.938 kB / 0.56 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3166, allocations: 0 / 0.56 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3166, allocations: 4 kB / 0.56 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.3167, allocations: 12.14 kB / 0.56 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3167, allocations: 0 / 0.56 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.663e-05/0.3167, allocations: 11.95 kB / 0.56 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.3167, allocations: 0 / 0.56 GB, free: 4.977 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 7.64e-05/0.3168, allocations: 117.7 kB / 0.5602 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.3168, allocations: 0 / 0.5602 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.3169, allocations: 65.31 kB / 0.5602 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.317, allocations: 0 / 0.5602 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.317, allocations: 0 / 0.5602 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.317, allocations: 3.984 kB / 0.5602 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.3171, allocations: 132.7 kB / 0.5604 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3171, allocations: 4 kB / 0.5604 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.3172, allocations: 4 kB / 0.5604 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3172, allocations: 7.984 kB / 0.5604 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.3172, allocations: 4 kB / 0.5604 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3172, allocations: 0 / 0.5604 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3172, allocations: 0 / 0.5604 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.3173, allocations: 155.4 kB / 0.5605 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.3173, allocations: 7.891 kB / 0.5605 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.3173, allocations: 0 / 0.5605 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.3174, allocations: 0 / 0.5605 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.3174, allocations: 11.94 kB / 0.5605 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.3174, allocations: 4 kB / 0.5605 GB, free: 4.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.542e-05/0.3175, allocations: 83.27 kB / 0.5606 GB, free: 4.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3175, allocations: 0 / 0.5606 GB, free: 4.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.3177, allocations: 4 kB / 0.5606 GB, free: 4.301 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.0004361/0.3181, allocations: 0.6852 MB / 0.5613 GB, free: 3.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.286e-05/0.3182, allocations: 23.92 kB / 0.5613 GB, free: 3.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3182, allocations: 3.938 kB / 0.5613 GB, free: 3.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.869e-05/0.3182, allocations: 16 kB / 0.5613 GB, free: 3.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.3184, allocations: 4.156 kB / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.3188, allocations: 138.6 kB / 0.5615 GB, free: 3.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.675e-05/0.3189, allocations: 63.34 kB / 0.5615 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.816e-05/0.3189, allocations: 4 kB / 0.5615 GB, free: 3.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.3189, allocations: 19.36 kB / 0.5616 GB, free: 3.258 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3189, allocations: 0 / 0.5616 GB, free: 3.258 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.3396, allocations: 1.471 MB / 0.563 GB, free: 1.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.45, allocations: 0 / 0.563 GB, free: 1.934 MB / 398.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.410963032045402] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'k1', 'k2'] 11.612602037959732 11.642278776 11.322578937 Calling exit ...