Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.001708/0.001708, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002072/0.002072, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.459/1.459, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.241/0.241, allocations: 46.88 MB / 357.4 MB, free: 10.54 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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",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.002254/0.002254, allocations: 84.5 kB / 0.4912 GB, free: 26.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1294, allocations: 65.97 MB / 0.5556 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001691/0.1311, allocations: 0.5378 MB / 0.5562 GB, free: 8.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008724/0.132, allocations: 415.1 kB / 0.5566 GB, free: 8.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.132, allocations: 0 / 0.5566 GB, free: 8.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.132, allocations: 3.938 kB / 0.5566 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.184e-05/0.1321, allocations: 0 / 0.5566 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.1326, allocations: 151.8 kB / 0.5567 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.601e-05/0.1327, allocations: 27.92 kB / 0.5567 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.1327, allocations: 4 kB / 0.5567 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.1328, allocations: 11.92 kB / 0.5567 GB, free: 8.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.1328, allocations: 23.91 kB / 0.5568 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1328, allocations: 4 kB / 0.5568 GB, free: 7.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003069/0.1331, allocations: 167.8 kB / 0.5569 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.1332, allocations: 4 kB / 0.5569 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.1332, allocations: 27.84 kB / 0.557 GB, free: 7.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1334, allocations: 119.7 kB / 0.5571 GB, free: 7.672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1334, allocations: 0 / 0.5571 GB, free: 7.672 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1334, allocations: 0 / 0.5571 GB, free: 7.672 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1334, allocations: 0 / 0.5571 GB, free: 7.672 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004972/0.1339, allocations: 371.1 kB / 0.5574 GB, free: 7.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.134, allocations: 8.031 kB / 0.5574 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.134, allocations: 38.75 kB / 0.5575 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.134, allocations: 4.891 kB / 0.5575 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1342, allocations: 176.2 kB / 0.5576 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1342, allocations: 4.375 kB / 0.5577 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.1343, allocations: 8.375 kB / 0.5577 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1344, allocations: 77.78 kB / 0.5577 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1344, allocations: 0 / 0.5577 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1345, allocations: 4 kB / 0.5577 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1345, allocations: 4 kB / 0.5577 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.917e-05/0.1345, allocations: 39.95 kB / 0.5578 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.1348, allocations: 173.6 kB / 0.5579 GB, free: 6.637 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.1349, allocations: 86.48 kB / 0.558 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/0.135, allocations: 24.84 kB / 0.5581 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.1353, allocations: 105.1 kB / 0.5582 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1353, allocations: 38.5 kB / 0.5582 GB, free: 6.348 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.1353, allocations: 0 / 0.5582 GB, free: 6.348 MB / 414.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1607/0.296, allocations: 5.61 MB / 0.5637 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.2961, allocations: 59.2 kB / 0.5637 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.2962, allocations: 93.86 kB / 0.5638 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.2963, allocations: 33.83 kB / 0.5638 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.64e-05/0.2963, allocations: 80.52 kB / 0.5639 GB, free: 416 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.2965, allocations: 83.27 kB / 0.564 GB, free: 332 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.2967, allocations: 61.67 kB / 0.5641 GB, free: 264 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002409/0.2969, allocations: 322.7 kB / 0.5644 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006789/0.2976, allocations: 119.8 kB / 0.5645 GB, free: 15.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006709/0.2983, allocations: 107.9 kB / 0.5646 GB, free: 15.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/0.3011, allocations: 325 kB / 0.5649 GB, free: 15.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3011, allocations: 0 / 0.5649 GB, free: 15.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002438/0.3035, allocations: 357.2 kB / 0.5652 GB, free: 15.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.3035, allocations: 8 kB / 0.5652 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.3036, allocations: 0 / 0.5652 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.3036, allocations: 0 / 0.5652 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/0.3043, allocations: 83.84 kB / 0.5653 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.3043, allocations: 4 kB / 0.5653 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.3047, allocations: 31.91 kB / 0.5654 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.3047, allocations: 15.98 kB / 0.5654 GB, free: 14.89 MB / 430.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 (23): * Single equations (assignments): 23 * 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 0.0002003/0.3049, allocations: 121.8 kB / 0.5655 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/0.305, allocations: 7.953 kB / 0.5655 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.3077, allocations: 425.8 kB / 0.5659 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.3077, allocations: 7.984 kB / 0.5659 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3077, allocations: 0 / 0.5659 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.3077, allocations: 11.92 kB / 0.5659 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0041/0.3118, allocations: 0.7795 MB / 0.5667 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3118, allocations: 4.031 kB / 0.5667 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.3124, allocations: 75.86 kB / 0.5668 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.3124, allocations: 4 kB / 0.5668 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.3125, allocations: 8 kB / 0.5668 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.3125, allocations: 11.92 kB / 0.5668 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3125, allocations: 0 / 0.5668 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.3147, allocations: 433 kB / 0.5672 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.446e-05/0.3148, allocations: 89.06 kB / 0.5673 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.3148, allocations: 7.984 kB / 0.5673 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.3152, allocations: 23.97 kB / 0.5673 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.3153, allocations: 11.98 kB / 0.5673 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.3153, allocations: 15.98 kB / 0.5673 GB, free: 12.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.711e-05/0.3154, allocations: 79.28 kB / 0.5674 GB, free: 12.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3154, allocations: 4.094 kB / 0.5674 GB, free: 12.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002655/0.318, allocations: 0.6284 MB / 0.568 GB, free: 12.05 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.00755/0.3256, allocations: 1.139 MB / 0.5691 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.3271, allocations: 255.5 kB / 0.5694 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3271, allocations: 0 / 0.5694 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007023/0.3278, allocations: 131.9 kB / 0.5695 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.3283, allocations: 14.34 kB / 0.5695 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.3313, allocations: 423.5 kB / 0.5699 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/0.3318, allocations: 0.697 MB / 0.5706 GB, free: 9.293 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004542/0.3323, allocations: 81.08 kB / 0.5707 GB, free: 9.215 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.3325, allocations: 51.39 kB / 0.5707 GB, free: 9.164 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3325, allocations: 0 / 0.5707 GB, free: 9.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6284/0.9609, allocations: 55.08 MB / 0.6245 GB, free: 34.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/9.238, allocations: 6.328 kB / 0.6245 GB, free: 34.8 MB / 462.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.19055733596906] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y1', 'y1d', 'y1dd', 'y2', 'y2d', 'y2dd', 'y3', 'y3d', 'y3dd', 'y4', 'y4d', 'y4dd'] 9.317950130905956 9.330240879 9.194596461 Calling exit ...