Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.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.001255/0.001255, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001295/0.001295, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.461/1.461, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2217/0.2217, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa",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.002222/0.002222, allocations: 75.88 kB / 0.4912 GB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1372, allocations: 65.99 MB / 0.5556 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4571/0.5943, allocations: 154.8 MB / 0.7068 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.596, allocations: 1.2 MB / 0.708 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.596, allocations: 0 / 0.708 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.5962, allocations: 43.8 kB / 0.7081 GB, free: 6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.535e-05/0.5963, allocations: 23.78 kB / 0.7081 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.5978, allocations: 441.8 kB / 0.7085 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.5979, allocations: 67.61 kB / 0.7086 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.598, allocations: 4 kB / 0.7086 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.85e-05/0.5981, allocations: 31.91 kB / 0.7086 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.5981, allocations: 27.86 kB / 0.7086 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.5981, allocations: 4 kB / 0.7086 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.5993, allocations: 0.5148 MB / 0.7091 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.5993, allocations: 7.984 kB / 0.7091 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.5994, allocations: 27.88 kB / 0.7092 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005249/0.5999, allocations: 317.9 kB / 0.7095 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5999, allocations: 0 / 0.7095 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5999, allocations: 0 / 0.7095 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.5999, allocations: 0 / 0.7095 GB, free: 4.555 MB / 0.5137 GB 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.0006087/0.6005, allocations: 414.7 kB / 0.7099 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.6006, allocations: 8.031 kB / 0.7099 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.6006, allocations: 42.75 kB / 0.7099 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.6006, allocations: 11.08 kB / 0.7099 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.6008, allocations: 174.9 kB / 0.7101 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.6008, allocations: 8 kB / 0.7101 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.6008, allocations: 4 kB / 0.7101 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.6009, allocations: 69.3 kB / 0.7102 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.601, allocations: 0 / 0.7102 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.601, allocations: 4 kB / 0.7102 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.601, allocations: 0 / 0.7102 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.091e-05/0.6011, allocations: 55.89 kB / 0.7102 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.6015, allocations: 381.9 kB / 0.7106 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.6016, allocations: 58.5 kB / 0.7106 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.6017, allocations: 20.84 kB / 0.7107 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00188/0.6035, allocations: 1.217 MB / 0.7119 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.6036, allocations: 42.48 kB / 0.7119 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.6036, allocations: 0 / 0.7119 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.006622/0.6102, allocations: 0.6578 MB / 0.7125 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.6103, allocations: 55.41 kB / 0.7126 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.6104, allocations: 105.8 kB / 0.7127 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.6104, allocations: 29.7 kB / 0.7127 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.6105, allocations: 92.3 kB / 0.7128 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.6105, allocations: 51.59 kB / 0.7129 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.6106, allocations: 41.67 kB / 0.7129 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6108, allocations: 322.8 kB / 0.7132 GB, free: 256 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.611, allocations: 79.89 kB / 0.7133 GB, free: 176 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.6112, allocations: 106.5 kB / 0.7134 GB, free: 60 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.6116, allocations: 198.5 kB / 0.7136 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.6116, allocations: 3.938 kB / 0.7136 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005463/0.6122, allocations: 249.4 kB / 0.7138 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.6122, allocations: 8 kB / 0.7138 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6122, allocations: 0 / 0.7138 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.6122, allocations: 0 / 0.7138 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.6128, allocations: 55.94 kB / 0.7139 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.6129, allocations: 0 / 0.7139 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.6133, allocations: 12 kB / 0.7139 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.6134, allocations: 19.97 kB / 0.7139 GB, free: 15.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001313/0.6135, allocations: 125.8 kB / 0.714 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.6136, allocations: 9.203 kB / 0.714 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007737/0.6143, allocations: 334 kB / 0.7144 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.6144, allocations: 7.984 kB / 0.7144 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.6144, allocations: 7.984 kB / 0.7144 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.6144, allocations: 0 / 0.7144 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.6155, allocations: 0.7545 MB / 0.7151 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6155, allocations: 0.875 kB / 0.7151 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005979/0.6161, allocations: 51.89 kB / 0.7152 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.6161, allocations: 4 kB / 0.7152 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.6162, allocations: 3.984 kB / 0.7152 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.6162, allocations: 4 kB / 0.7152 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.6162, allocations: 3.938 kB / 0.7152 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.6168, allocations: 351.4 kB / 0.7155 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.6169, allocations: 116.8 kB / 0.7156 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.6169, allocations: 4 kB / 0.7156 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.6174, allocations: 8 kB / 0.7156 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.6175, allocations: 19.91 kB / 0.7156 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.6175, allocations: 11.98 kB / 0.7157 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.016e-05/0.6176, allocations: 83.28 kB / 0.7157 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.6176, allocations: 0 / 0.7157 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004607/0.618, allocations: 107.7 kB / 0.7158 GB, free: 13.38 MB / 0.5294 GB 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 (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.001205/0.6192, allocations: 0.9993 MB / 0.7168 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005063/0.6197, allocations: 207.8 kB / 0.717 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6197, allocations: 128 / 0.717 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.62, allocations: 115.9 kB / 0.7171 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.6204, allocations: 33.14 kB / 0.7172 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008377/0.6212, allocations: 317.9 kB / 0.7175 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.6216, allocations: 0.7004 MB / 0.7181 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003194/0.6219, allocations: 64.73 kB / 0.7182 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.6221, allocations: 43.39 kB / 0.7182 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.6221, allocations: 3.938 kB / 0.7183 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.6536, allocations: 7.645 MB / 0.7257 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.716, allocations: 0 / 0.7257 GB, free: 3.27 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.541629459243268] Failed to read output from testmodel.py, exit status != 0: ['time', 'T', 'eta', 'lambda', 'eta_der', 'lambda_der', 'eta2', 'lambda2', 'eta2_der', 'lambda2_der'] 8.78905538842082 8.81682224 8.212261866 Calling exit ...