Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001985/0.001985, allocations: 114.2 kB / 18.49 MB, free: 4.539 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.002353/0.002353, allocations: 215.1 kB / 21.45 MB, free: 1.59 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.533/1.533, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2539/0.2539, allocations: 46.92 MB / 357.8 MB, free: 10.32 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+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_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003206/0.003206, allocations: 67.89 kB / 0.4916 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1484, allocations: 66 MB / 0.5561 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001771/0.1502, allocations: 0.491 MB / 0.5565 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003162/0.1505, allocations: 96.34 kB / 0.5566 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.1506, allocations: 0 / 0.5566 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.1506, allocations: 0 / 0.5566 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.802e-05/0.1506, allocations: 0 / 0.5566 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.1508, allocations: 23.91 kB / 0.5566 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.817e-05/0.1508, allocations: 8 kB / 0.5567 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/0.1509, allocations: 7.969 kB / 0.5567 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.702e-05/0.1509, allocations: 7.938 kB / 0.5567 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.151, allocations: 11.98 kB / 0.5567 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.151, allocations: 0 / 0.5567 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.942e-05/0.1511, allocations: 31.97 kB / 0.5567 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.1511, allocations: 7.875 kB / 0.5567 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.1511, allocations: 0 / 0.5567 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.1512, allocations: 31.89 kB / 0.5568 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1512, allocations: 4 kB / 0.5568 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1512, allocations: 0 / 0.5568 GB, free: 5.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1512, allocations: 0 / 0.5568 GB, free: 5.125 MB / 414.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.0004395/0.1517, allocations: 331.4 kB / 0.5571 GB, free: 4.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1517, allocations: 12.03 kB / 0.5571 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.852e-05/0.1517, allocations: 192 / 0.5571 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.1518, allocations: 34.75 kB / 0.5571 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.1518, allocations: 4.938 kB / 0.5571 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.1519, allocations: 172.3 kB / 0.5573 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1519, allocations: 384 / 0.5573 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.1519, allocations: 384 / 0.5573 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1521, allocations: 55.72 kB / 0.5573 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1521, allocations: 0 / 0.5573 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1521, allocations: 8 kB / 0.5573 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1521, allocations: 0 / 0.5573 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.1522, allocations: 7.938 kB / 0.5574 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.1525, allocations: 333.1 kB / 0.5577 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.253e-05/0.1526, allocations: 22.58 kB / 0.5577 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.1526, allocations: 12.86 kB / 0.5577 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1526, allocations: 0 / 0.5577 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1527, allocations: 30.66 kB / 0.5577 GB, free: 3.938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1527, allocations: 7.938 kB / 0.5577 GB, free: 3.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001998/0.1529, allocations: 65.56 kB / 0.5578 GB, free: 3.859 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.1529, allocations: 55.41 kB / 0.5579 GB, free: 3.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.153, allocations: 93.86 kB / 0.5579 GB, free: 3.691 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.153, allocations: 25.7 kB / 0.558 GB, free: 3.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.1531, allocations: 84.14 kB / 0.5581 GB, free: 3.574 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.1531, allocations: 11.84 kB / 0.5581 GB, free: 3.562 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1531, allocations: 21.7 kB / 0.5581 GB, free: 3.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1533, allocations: 315 kB / 0.5584 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.173e-05/0.1533, allocations: 12 kB / 0.5584 GB, free: 3.207 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.1533, allocations: 25.7 kB / 0.5584 GB, free: 3.176 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.619e-05/0.1534, allocations: 29.59 kB / 0.5584 GB, free: 3.141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1534, allocations: 0 / 0.5584 GB, free: 3.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001127/0.1535, allocations: 57.62 kB / 0.5585 GB, free: 3.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1535, allocations: 8 kB / 0.5585 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1535, allocations: 4.031 kB / 0.5585 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1535, allocations: 0 / 0.5585 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.1536, allocations: 8 kB / 0.5585 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.1536, allocations: 11.91 kB / 0.5585 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.1536, allocations: 3.953 kB / 0.5585 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1537, allocations: 4 kB / 0.5585 GB, free: 3.039 MB / 414.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.515e-05/0.1537, allocations: 109.8 kB / 0.5586 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.1538, allocations: 4 kB / 0.5586 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.1539, allocations: 65.12 kB / 0.5587 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1539, allocations: 4 kB / 0.5587 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1539, allocations: 240 / 0.5587 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1539, allocations: 0 / 0.5587 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1541, allocations: 161.6 kB / 0.5589 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1541, allocations: 3.984 kB / 0.5589 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.1542, allocations: 11.98 kB / 0.5589 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1542, allocations: 0 / 0.5589 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.1542, allocations: 4 kB / 0.5589 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1542, allocations: 0 / 0.5589 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1542, allocations: 0 / 0.5589 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.1543, allocations: 159.7 kB / 0.559 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.1544, allocations: 85 kB / 0.5591 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.1544, allocations: 3.938 kB / 0.5591 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.936e-05/0.1544, allocations: 0 / 0.5591 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.1545, allocations: 8 kB / 0.5591 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1545, allocations: 0 / 0.5591 GB, free: 2.332 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.52e-05/0.1545, allocations: 83.27 kB / 0.5592 GB, free: 2.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1545, allocations: 4.094 kB / 0.5592 GB, free: 2.246 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.1547, allocations: 7.938 kB / 0.5592 GB, free: 2.238 MB / 414.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.0004904/0.1552, allocations: 0.6812 MB / 0.5599 GB, free: 1.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.1553, allocations: 23.92 kB / 0.5599 GB, free: 1.504 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1553, allocations: 0 / 0.5599 GB, free: 1.504 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.1554, allocations: 20.06 kB / 0.5599 GB, free: 1.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1556, allocations: 0 / 0.5599 GB, free: 1.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.156, allocations: 134.7 kB / 0.5601 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1563, allocations: 0.6845 MB / 0.5607 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.96e-05/0.1563, allocations: 0 / 0.5607 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.1564, allocations: 23.42 kB / 0.5608 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1564, allocations: 0 / 0.5608 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.1742, allocations: 1.341 MB / 0.5621 GB, free: 15.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.379, allocations: 10.34 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.45803939900361] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'k1', 'k2'] 8.505668717960361 8.532903482 8.376524325 Calling exit ...