Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.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.001278/0.001278, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001341/0.001341, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.473/1.473, allocations: 230.5 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 46.92 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 75.89 kB / 0.4917 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1279, allocations: 66.04 MB / 0.5562 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4459/0.5738, allocations: 153.5 MB / 0.7061 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006967/0.5808, allocations: 5.157 MB / 0.7111 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.581, allocations: 4 kB / 0.7111 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.5813, allocations: 51.59 kB / 0.7111 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003909/0.5852, allocations: 1.209 MB / 0.7123 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.5856, allocations: 151.1 kB / 0.7125 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007527/0.5864, allocations: 394.1 kB / 0.7128 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.513e-05/0.5865, allocations: 9.688 kB / 0.7129 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004116/0.5869, allocations: 167.4 kB / 0.713 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.5872, allocations: 179.4 kB / 0.7132 GB, free: 264 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.5873, allocations: 8 kB / 0.7132 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.5897, allocations: 1.046 MB / 0.7142 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.5898, allocations: 43.77 kB / 0.7143 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.5899, allocations: 111.5 kB / 0.7144 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.592, allocations: 0.8489 MB / 0.7152 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.592, allocations: 4 kB / 0.7152 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.592, allocations: 0 / 0.7152 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.592, allocations: 0 / 0.7152 GB, free: 14.2 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001638/0.5937, allocations: 0.6969 MB / 0.7159 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5937, allocations: 8.031 kB / 0.7159 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.513e-05/0.5937, allocations: 8.75 kB / 0.7159 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.326e-05/0.5938, allocations: 62.72 kB / 0.7159 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008172/0.602, allocations: 0.6059 MB / 0.7165 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.6026, allocations: 271.3 kB / 0.7168 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.6028, allocations: 119.4 kB / 0.7169 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.6029, allocations: 20 kB / 0.7169 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.6042, allocations: 0.5673 MB / 0.7175 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.6043, allocations: 4 kB / 0.7175 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-05/0.6044, allocations: 16 kB / 0.7175 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.6044, allocations: 7.938 kB / 0.7175 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.606, allocations: 0.626 MB / 0.7181 GB, free: 11.04 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.6084, allocations: 1.719 MB / 0.7198 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.6088, allocations: 142.5 kB / 0.7199 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.6089, allocations: 69.73 kB / 0.72 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007831/0.6097, allocations: 0.7042 MB / 0.7207 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.6097, allocations: 42.55 kB / 0.7207 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.492e-06/0.6097, allocations: 0 / 0.7207 GB, free: 8.098 MB / 0.5294 GB 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.001105/0.6108, allocations: 318.3 kB / 0.721 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.6109, allocations: 55.41 kB / 0.7211 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.6111, allocations: 199.6 kB / 0.7213 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.6111, allocations: 25.7 kB / 0.7213 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.6113, allocations: 191.8 kB / 0.7215 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.6113, allocations: 67.45 kB / 0.7216 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.6115, allocations: 102 kB / 0.7216 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.6117, allocations: 326.8 kB / 0.722 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.6118, allocations: 64.7 kB / 0.722 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.6122, allocations: 268.6 kB / 0.7223 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.6127, allocations: 363.4 kB / 0.7226 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.6127, allocations: 4 kB / 0.7226 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007101/0.6134, allocations: 378.5 kB / 0.723 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.6134, allocations: 9.719 kB / 0.723 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.6134, allocations: 19.97 kB / 0.723 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.6135, allocations: 8 kB / 0.723 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.6139, allocations: 123.9 kB / 0.7231 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000428/0.6143, allocations: 0.6015 MB / 0.7237 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.6146, allocations: 43.73 kB / 0.7238 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.6147, allocations: 43.98 kB / 0.7238 GB, free: 4.676 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.6148, allocations: 149.7 kB / 0.724 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-05/0.6149, allocations: 15.91 kB / 0.724 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008473/0.6157, allocations: 435.1 kB / 0.7244 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6157, allocations: 3.938 kB / 0.7244 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.6158, allocations: 0 / 0.7244 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6158, allocations: 4 kB / 0.7244 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009632/0.6167, allocations: 0.6266 MB / 0.725 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.6167, allocations: 0 / 0.725 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.617, allocations: 63.89 kB / 0.7251 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.617, allocations: 4 kB / 0.7251 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.617, allocations: 8.156 kB / 0.7251 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003788/0.6174, allocations: 0.6002 MB / 0.7257 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.6174, allocations: 7.969 kB / 0.7257 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.6178, allocations: 285.4 kB / 0.7259 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.6179, allocations: 112.9 kB / 0.7261 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.618, allocations: 13.02 kB / 0.7261 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.6182, allocations: 7.984 kB / 0.7261 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.6183, allocations: 23.92 kB / 0.7261 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.6183, allocations: 23.92 kB / 0.7261 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001522/0.6185, allocations: 144.2 kB / 0.7263 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6185, allocations: 0 / 0.7263 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000744/0.6192, allocations: 147.7 kB / 0.7264 GB, free: 1.84 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001121/0.6203, allocations: 0.9443 MB / 0.7273 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005585/0.6209, allocations: 235.5 kB / 0.7275 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6209, allocations: 0 / 0.7275 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.6211, allocations: 84.39 kB / 0.7276 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.6216, allocations: 55.55 kB / 0.7277 GB, free: 496 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.6259, allocations: 2.877 MB / 0.7305 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.6262, allocations: 0.7285 MB / 0.7312 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006691/0.6269, allocations: 381.8 kB / 0.7316 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.6272, allocations: 99.3 kB / 0.7317 GB, free: 12.08 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.6272, allocations: 0 / 0.7317 GB, free: 12.08 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.6542, allocations: 7.471 MB / 0.739 GB, free: 4.746 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.43, allocations: 10.38 kB / 0.739 GB, free: 4.742 MB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.712492327031214]