Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.001657/0.001657, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002284/0.002284, allocations: 218.6 kB / 23 MB, free: 5.617 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.507/1.507, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.2378/0.2378, allocations: 46.89 MB / 359.4 MB, free: 4.902 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.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",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.002506/0.002506, allocations: 79.86 kB / 0.4941 GB, free: 9.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3585, allocations: 65.99 MB / 0.5586 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001741/0.3603, allocations: 0.5228 MB / 0.5591 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008419/0.3611, allocations: 422.6 kB / 0.5595 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.3611, allocations: 0 / 0.5595 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.3611, allocations: 3.938 kB / 0.5595 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.148e-05/0.3612, allocations: 0 / 0.5595 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.3617, allocations: 151 kB / 0.5596 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.3618, allocations: 23.97 kB / 0.5596 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.3618, allocations: 0 / 0.5596 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.3618, allocations: 19.92 kB / 0.5597 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.3619, allocations: 19.92 kB / 0.5597 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.3619, allocations: 0 / 0.5597 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.3622, allocations: 159.8 kB / 0.5598 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.3622, allocations: 11.94 kB / 0.5598 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.3623, allocations: 19.91 kB / 0.5599 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.3625, allocations: 121.6 kB / 0.56 GB, free: 3.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3625, allocations: 0 / 0.56 GB, free: 3.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3625, allocations: 0 / 0.56 GB, free: 3.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3625, allocations: 0 / 0.56 GB, free: 3.703 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005315/0.363, allocations: 371 kB / 0.5603 GB, free: 3.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3631, allocations: 16.02 kB / 0.5604 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.492e-05/0.3631, allocations: 30.75 kB / 0.5604 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.3631, allocations: 8.938 kB / 0.5604 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.3633, allocations: 168.3 kB / 0.5606 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3633, allocations: 4.375 kB / 0.5606 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.3633, allocations: 4.375 kB / 0.5606 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.3635, allocations: 57.98 kB / 0.5606 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3635, allocations: 0 / 0.5606 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3635, allocations: 0 / 0.5606 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3635, allocations: 0 / 0.5606 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.15e-05/0.3636, allocations: 35.92 kB / 0.5606 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.3638, allocations: 177.6 kB / 0.5608 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.364, allocations: 50.56 kB / 0.5609 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.3641, allocations: 24.84 kB / 0.5609 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.3643, allocations: 109.3 kB / 0.561 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3644, allocations: 42.44 kB / 0.561 GB, free: 2.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.3644, allocations: 0 / 0.561 GB, free: 2.438 MB / 398.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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1398/0.5041, allocations: 6.383 MB / 0.5673 GB, free: 12.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.5042, allocations: 55.41 kB / 0.5673 GB, free: 11.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/0.5043, allocations: 105.8 kB / 0.5674 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.5043, allocations: 29.7 kB / 0.5675 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.5044, allocations: 84.14 kB / 0.5675 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/0.5045, allocations: 63.44 kB / 0.5676 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.5047, allocations: 93.58 kB / 0.5677 GB, free: 11.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5048, allocations: 318.8 kB / 0.568 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005674/0.5054, allocations: 227.8 kB / 0.5682 GB, free: 11.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.5059, allocations: 235.8 kB / 0.5684 GB, free: 10.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.5081, allocations: 0.5533 MB / 0.569 GB, free: 10.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5081, allocations: 0 / 0.569 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001876/0.5099, allocations: 0.6156 MB / 0.5696 GB, free: 9.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.51, allocations: 4 kB / 0.5696 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.51, allocations: 0 / 0.5696 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.51, allocations: 0 / 0.5696 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/0.5106, allocations: 107.8 kB / 0.5697 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.5106, allocations: 8 kB / 0.5697 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.5111, allocations: 24.2 kB / 0.5697 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.5111, allocations: 31.95 kB / 0.5697 GB, free: 9.434 MB / 414.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 (19): * Single equations (assignments): 19 * 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.0001608/0.5113, allocations: 129.7 kB / 0.5699 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.5113, allocations: 7.953 kB / 0.5699 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.5135, allocations: 0.724 MB / 0.5706 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5135, allocations: 0 / 0.5706 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5135, allocations: 0 / 0.5706 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5135, allocations: 0 / 0.5706 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.5175, allocations: 1.169 MB / 0.5717 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5175, allocations: 480 / 0.5717 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.518, allocations: 99.84 kB / 0.5718 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.518, allocations: 0 / 0.5718 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.5181, allocations: 32.14 kB / 0.5718 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.5181, allocations: 7.938 kB / 0.5719 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5181, allocations: 7.938 kB / 0.5719 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.5198, allocations: 0.5773 MB / 0.5724 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.5199, allocations: 92.98 kB / 0.5725 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.5199, allocations: 8 kB / 0.5725 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.5203, allocations: 27.95 kB / 0.5725 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.5204, allocations: 15.98 kB / 0.5726 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/0.5204, allocations: 31.94 kB / 0.5726 GB, free: 6.371 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.545e-05/0.5205, allocations: 87.22 kB / 0.5727 GB, free: 6.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.5205, allocations: 0 / 0.5727 GB, free: 6.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001802/0.5223, allocations: 0.648 MB / 0.5733 GB, free: 5.637 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.005043/0.5273, allocations: 1.302 MB / 0.5746 GB, free: 4.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.5286, allocations: 443.5 kB / 0.575 GB, free: 3.852 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5286, allocations: 0 / 0.575 GB, free: 3.852 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005355/0.5291, allocations: 195.7 kB / 0.5752 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.5294, allocations: 14.94 kB / 0.5752 GB, free: 3.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.5325, allocations: 0.6264 MB / 0.5758 GB, free: 2.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.5328, allocations: 0.6965 MB / 0.5765 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004118/0.5332, allocations: 129.1 kB / 0.5766 GB, free: 2.105 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.5336, allocations: 99.28 kB / 0.5767 GB, free: 2.008 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5336, allocations: 7.875 kB / 0.5767 GB, free: 2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09888/0.6324, allocations: 58.69 MB / 0.634 GB, free: 7.254 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/9.197, allocations: 15.98 kB / 0.6341 GB, free: 7.238 MB / 478.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.11055264400784] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'ydd', 'k1', 'k2', 'y2', 'y2d', 'y2dd'] 9.281463431980228 9.295806964 8.93038793 Calling exit ...