Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.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.002037/0.002037, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001725/0.001725, allocations: 215.5 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 207.7 MB / 234.6 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3011/0.3011, allocations: 44.27 MB / 331.1 MB, free: 9.41 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003354/0.003354, allocations: 65.78 kB / 468.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1292, allocations: 61.05 MB / 0.5169 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3879/0.5171, allocations: 131.7 MB / 0.6455 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004487/0.5216, allocations: 3.322 MB / 0.6488 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.5216, allocations: 0 / 0.6488 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.5218, allocations: 35.81 kB / 0.6488 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.091e-05/0.5218, allocations: 23.8 kB / 0.6488 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.5231, allocations: 421.9 kB / 0.6492 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.5232, allocations: 71.64 kB / 0.6493 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.5232, allocations: 0 / 0.6493 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.5233, allocations: 39.86 kB / 0.6493 GB, free: 10.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.098e-05/0.5234, allocations: 31.84 kB / 0.6494 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.5234, allocations: 0 / 0.6494 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.5244, allocations: 466.8 kB / 0.6498 GB, free: 10.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.5245, allocations: 7.984 kB / 0.6498 GB, free: 10.17 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.5245, allocations: 27.92 kB / 0.6499 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.5251, allocations: 297.4 kB / 0.6501 GB, free: 9.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5251, allocations: 0 / 0.6501 GB, free: 9.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5251, allocations: 0 / 0.6501 GB, free: 9.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.5251, allocations: 0 / 0.6501 GB, free: 9.852 MB / 494.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.000632/0.5257, allocations: 333.6 kB / 0.6505 GB, free: 9.496 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.5257, allocations: 12.03 kB / 0.6505 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.034e-05/0.5258, allocations: 192 / 0.6505 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.5258, allocations: 42.73 kB / 0.6505 GB, free: 9.434 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.5258, allocations: 8.891 kB / 0.6505 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.526, allocations: 113.5 kB / 0.6506 GB, free: 9.289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.526, allocations: 8 kB / 0.6506 GB, free: 9.281 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.526, allocations: 4 kB / 0.6506 GB, free: 9.277 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.5261, allocations: 69.67 kB / 0.6507 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5262, allocations: 0 / 0.6507 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.5262, allocations: 8 kB / 0.6507 GB, free: 9.195 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5262, allocations: 0 / 0.6507 GB, free: 9.195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.267e-05/0.5263, allocations: 55.89 kB / 0.6508 GB, free: 9.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.5267, allocations: 275.7 kB / 0.651 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.5268, allocations: 62.56 kB / 0.6511 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.5269, allocations: 24.84 kB / 0.6511 GB, free: 8.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/0.5283, allocations: 267.7 kB / 0.6514 GB, free: 8.469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.5283, allocations: 30.56 kB / 0.6514 GB, free: 8.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.5283, allocations: 0 / 0.6514 GB, free: 8.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.006919/0.5352, allocations: 0.6767 MB / 0.6521 GB, free: 7.746 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.5353, allocations: 55.41 kB / 0.6521 GB, free: 7.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.58e-05/0.5354, allocations: 97.86 kB / 0.6522 GB, free: 7.574 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.5354, allocations: 25.7 kB / 0.6522 GB, free: 7.543 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.5355, allocations: 96.3 kB / 0.6523 GB, free: 7.445 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/0.5355, allocations: 51.53 kB / 0.6524 GB, free: 7.395 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.5356, allocations: 45.67 kB / 0.6524 GB, free: 7.344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5358, allocations: 318.8 kB / 0.6527 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.536, allocations: 79.94 kB / 0.6528 GB, free: 6.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.5362, allocations: 110.5 kB / 0.6529 GB, free: 6.828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/0.5367, allocations: 203.5 kB / 0.6531 GB, free: 6.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5367, allocations: 0 / 0.6531 GB, free: 6.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005853/0.5373, allocations: 257.4 kB / 0.6533 GB, free: 6.363 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.5373, allocations: 9.875 kB / 0.6533 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.5373, allocations: 0 / 0.6533 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5373, allocations: 0 / 0.6533 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.538, allocations: 52.7 kB / 0.6534 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.538, allocations: 3.984 kB / 0.6534 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.5385, allocations: 16 kB / 0.6534 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/0.5385, allocations: 12.55 kB / 0.6534 GB, free: 6.273 MB / 494.1 MB 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.0001315/0.5387, allocations: 117.8 kB / 0.6535 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.5387, allocations: 16 kB / 0.6536 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008281/0.5396, allocations: 341.4 kB / 0.6539 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.5396, allocations: 4 kB / 0.6539 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5396, allocations: 3.125 kB / 0.6539 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5396, allocations: 0 / 0.6539 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.5407, allocations: 0.713 MB / 0.6546 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5407, allocations: 0 / 0.6546 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006177/0.5414, allocations: 47.95 kB / 0.6546 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5414, allocations: 7.938 kB / 0.6546 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.5414, allocations: 3.984 kB / 0.6546 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.5414, allocations: 4 kB / 0.6546 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5414, allocations: 3.938 kB / 0.6546 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006098/0.542, allocations: 361.8 kB / 0.655 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.5421, allocations: 31.91 kB / 0.655 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.5421, allocations: 4 kB / 0.655 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/0.5427, allocations: 8 kB / 0.655 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.5427, allocations: 19.91 kB / 0.6551 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.5428, allocations: 11.98 kB / 0.6551 GB, free: 4.477 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.144e-05/0.5428, allocations: 83.28 kB / 0.6551 GB, free: 4.395 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5428, allocations: 0 / 0.6551 GB, free: 4.395 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004482/0.5433, allocations: 103.7 kB / 0.6552 GB, free: 4.293 MB / 494.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 (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.001235/0.5445, allocations: 0.9971 MB / 0.6562 GB, free: 3.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.545, allocations: 207.2 kB / 0.6564 GB, free: 3.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.545, allocations: 4.125 kB / 0.6564 GB, free: 3.066 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.5453, allocations: 115.9 kB / 0.6565 GB, free: 2.953 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.5457, allocations: 33.59 kB / 0.6566 GB, free: 2.926 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008478/0.5466, allocations: 322.3 kB / 0.6569 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.381e-05/0.5466, allocations: 87.78 kB / 0.657 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003285/0.547, allocations: 64.78 kB / 0.657 GB, free: 2.402 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.5472, allocations: 47.38 kB / 0.6571 GB, free: 2.355 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5472, allocations: 0 / 0.6571 GB, free: 2.355 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.5761, allocations: 8.552 MB / 0.6654 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.03, allocations: 8.953 kB / 0.6654 GB, free: 9.781 MB / 0.4981 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.309517372981645]