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.00185/0.00185, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002128/0.002128, allocations: 214.5 kB / 22.99 MB, free: 4.977 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.468/1.468, allocations: 207.7 MB / 233.8 MB, free: 9.805 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.2149/0.2149, allocations: 44.26 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 180] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",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.002257/0.002257, allocations: 75.89 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1184, allocations: 61.05 MB / 0.5161 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3705/0.4889, allocations: 131.8 MB / 0.6449 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005355/0.4942, allocations: 3.31 MB / 0.6481 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.4943, allocations: 0 / 0.6481 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.4945, allocations: 35.81 kB / 0.6481 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.4946, allocations: 27.77 kB / 0.6482 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.4963, allocations: 425.9 kB / 0.6486 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.4964, allocations: 67.55 kB / 0.6486 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.4964, allocations: 7.984 kB / 0.6486 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.4966, allocations: 35.91 kB / 0.6487 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.409e-05/0.4966, allocations: 19.94 kB / 0.6487 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.4966, allocations: 4 kB / 0.6487 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.4978, allocations: 458.8 kB / 0.6491 GB, free: 10.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.4978, allocations: 15.92 kB / 0.6491 GB, free: 10.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.4978, allocations: 23.86 kB / 0.6492 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006431/0.4985, allocations: 301.4 kB / 0.6495 GB, free: 9.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4985, allocations: 0 / 0.6495 GB, free: 9.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4985, allocations: 4 kB / 0.6495 GB, free: 9.723 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.4985, allocations: 0 / 0.6495 GB, free: 9.723 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.0006415/0.4991, allocations: 329.7 kB / 0.6498 GB, free: 9.371 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.4992, allocations: 8.031 kB / 0.6498 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.4992, allocations: 38.75 kB / 0.6498 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.4993, allocations: 8.891 kB / 0.6498 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.4994, allocations: 113.7 kB / 0.6499 GB, free: 9.172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4994, allocations: 8 kB / 0.6499 GB, free: 9.164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.4994, allocations: 4 kB / 0.65 GB, free: 9.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.4996, allocations: 73.66 kB / 0.65 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4996, allocations: 0 / 0.65 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.4996, allocations: 11.94 kB / 0.65 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4996, allocations: 0 / 0.65 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.365e-05/0.4997, allocations: 47.97 kB / 0.6501 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.5002, allocations: 275.8 kB / 0.6503 GB, free: 8.711 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.5003, allocations: 70.52 kB / 0.6504 GB, free: 8.633 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.5004, allocations: 20.86 kB / 0.6504 GB, free: 8.609 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/0.5019, allocations: 259.7 kB / 0.6507 GB, free: 8.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.5019, allocations: 38.69 kB / 0.6507 GB, free: 8.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.5019, allocations: 0 / 0.6507 GB, free: 8.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.006919/0.5088, allocations: 0.6688 MB / 0.6514 GB, free: 7.633 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.5088, allocations: 51.41 kB / 0.6514 GB, free: 7.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.509, allocations: 109.8 kB / 0.6515 GB, free: 7.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.509, allocations: 26.27 kB / 0.6515 GB, free: 7.422 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.5091, allocations: 92.38 kB / 0.6516 GB, free: 7.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.806e-05/0.5091, allocations: 55.52 kB / 0.6517 GB, free: 7.273 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.5092, allocations: 41.67 kB / 0.6517 GB, free: 7.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5094, allocations: 322.8 kB / 0.652 GB, free: 6.902 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.5096, allocations: 79.89 kB / 0.6521 GB, free: 6.824 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.5098, allocations: 114.4 kB / 0.6522 GB, free: 6.703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.5103, allocations: 199.2 kB / 0.6524 GB, free: 6.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5103, allocations: 4 kB / 0.6524 GB, free: 6.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006051/0.5109, allocations: 253.4 kB / 0.6527 GB, free: 6.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5109, allocations: 4 kB / 0.6527 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5109, allocations: 4 kB / 0.6527 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.5109, allocations: 4.812 kB / 0.6527 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006875/0.5116, allocations: 51.94 kB / 0.6527 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5116, allocations: 0 / 0.6527 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/0.5122, allocations: 16 kB / 0.6527 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.5122, allocations: 15.97 kB / 0.6527 GB, free: 6.148 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.000136/0.5124, allocations: 125.8 kB / 0.6529 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.5124, allocations: 11.88 kB / 0.6529 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008138/0.5132, allocations: 337.9 kB / 0.6532 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.5133, allocations: 3.984 kB / 0.6532 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5133, allocations: 11 kB / 0.6532 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5133, allocations: 0 / 0.6532 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.5145, allocations: 0.7052 MB / 0.6539 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5145, allocations: 0 / 0.6539 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006512/0.5152, allocations: 47.91 kB / 0.6539 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.5152, allocations: 0 / 0.6539 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.5152, allocations: 7.984 kB / 0.654 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.5152, allocations: 0 / 0.654 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5152, allocations: 0 / 0.654 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00067/0.5159, allocations: 366.7 kB / 0.6543 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.516, allocations: 27.91 kB / 0.6543 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.516, allocations: 4 kB / 0.6543 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.5166, allocations: 15.98 kB / 0.6544 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.5166, allocations: 11.97 kB / 0.6544 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.5167, allocations: 11.94 kB / 0.6544 GB, free: 4.363 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.981e-05/0.5167, allocations: 87.27 kB / 0.6545 GB, free: 4.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5167, allocations: 0 / 0.6545 GB, free: 4.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004504/0.5172, allocations: 99.73 kB / 0.6546 GB, free: 4.18 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.001272/0.5185, allocations: 1.005 MB / 0.6555 GB, free: 3.148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005323/0.519, allocations: 207.8 kB / 0.6557 GB, free: 2.945 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.519, allocations: 0 / 0.6557 GB, free: 2.945 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.5193, allocations: 114.4 kB / 0.6558 GB, free: 2.836 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.5197, allocations: 37.05 kB / 0.6559 GB, free: 2.805 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008418/0.5205, allocations: 322.5 kB / 0.6562 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.605e-05/0.5206, allocations: 79.78 kB / 0.6563 GB, free: 2.352 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003412/0.521, allocations: 68.83 kB / 0.6563 GB, free: 2.285 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.5212, allocations: 47.38 kB / 0.6564 GB, free: 2.238 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5212, allocations: 4 kB / 0.6564 GB, free: 2.234 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03911/0.5603, allocations: 8.839 MB / 0.665 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.03, allocations: 0 / 0.665 GB, free: 9.383 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: 14.933844375889748]