Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001856/0.001856, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002408/0.002408, allocations: 211.4 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2348/0.2348, allocations: 46.97 MB / 360.9 MB, free: 4.004 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 75.88 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2975, allocations: 66.04 MB / 0.5606 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1726/0.4701, allocations: 133.3 MB / 0.6907 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.4718, allocations: 1.075 MB / 0.6918 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.4719, allocations: 0 / 0.6918 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.4721, allocations: 35.75 kB / 0.6918 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.415e-05/0.4721, allocations: 23.78 kB / 0.6918 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.4737, allocations: 427.8 kB / 0.6922 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.4738, allocations: 71.59 kB / 0.6923 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.4738, allocations: 7.984 kB / 0.6923 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.474, allocations: 35.92 kB / 0.6923 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.474, allocations: 27.84 kB / 0.6924 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.474, allocations: 4 kB / 0.6924 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.4753, allocations: 466.2 kB / 0.6928 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.4753, allocations: 4 kB / 0.6928 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.4754, allocations: 31.84 kB / 0.6929 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007265/0.4761, allocations: 291.2 kB / 0.6931 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4761, allocations: 0 / 0.6931 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.524e-06/0.4761, allocations: 4 kB / 0.6931 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.4761, allocations: 0 / 0.6931 GB, free: 11.93 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007704/0.4769, allocations: 349.6 kB / 0.6935 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4769, allocations: 8.031 kB / 0.6935 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.477, allocations: 34.75 kB / 0.6935 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.477, allocations: 4.688 kB / 0.6935 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.4772, allocations: 125 kB / 0.6936 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.4772, allocations: 4 kB / 0.6936 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.4772, allocations: 8 kB / 0.6936 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.4774, allocations: 65.67 kB / 0.6937 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.4774, allocations: 4 kB / 0.6937 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4774, allocations: 4 kB / 0.6937 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.4775, allocations: 0 / 0.6937 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.4776, allocations: 55.89 kB / 0.6938 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.4781, allocations: 271.9 kB / 0.694 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.4783, allocations: 58.56 kB / 0.6941 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.4783, allocations: 20.84 kB / 0.6941 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/0.4798, allocations: 259.7 kB / 0.6944 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.4798, allocations: 38.69 kB / 0.6944 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.4798, allocations: 0 / 0.6944 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006947/0.4868, allocations: 0.6569 MB / 0.695 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.4868, allocations: 55.41 kB / 0.6951 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.487, allocations: 101.8 kB / 0.6952 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.487, allocations: 33.7 kB / 0.6952 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.4871, allocations: 92.33 kB / 0.6953 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/0.4871, allocations: 47.58 kB / 0.6953 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.4873, allocations: 45.67 kB / 0.6954 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4874, allocations: 322.8 kB / 0.6957 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.4877, allocations: 87.88 kB / 0.6958 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.488, allocations: 105.7 kB / 0.6959 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.4885, allocations: 194.5 kB / 0.6961 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4885, allocations: 8 kB / 0.6961 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006365/0.4891, allocations: 245.5 kB / 0.6963 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.4892, allocations: 8 kB / 0.6963 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.4892, allocations: 3.984 kB / 0.6963 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.4892, allocations: 0 / 0.6963 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007571/0.49, allocations: 51.89 kB / 0.6964 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.49, allocations: 0 / 0.6964 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/0.4906, allocations: 15.98 kB / 0.6964 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.4906, allocations: 20.05 kB / 0.6964 GB, free: 8.371 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.0001717/0.4908, allocations: 121.7 kB / 0.6965 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.4909, allocations: 7.953 kB / 0.6965 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009115/0.4918, allocations: 349.9 kB / 0.6969 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.4918, allocations: 8 kB / 0.6969 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4918, allocations: 0 / 0.6969 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.4918, allocations: 0 / 0.6969 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.4931, allocations: 0.7179 MB / 0.6976 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4931, allocations: 0 / 0.6976 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006465/0.4937, allocations: 47.91 kB / 0.6976 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.4938, allocations: 3.984 kB / 0.6976 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.4938, allocations: 4 kB / 0.6976 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.4938, allocations: 11.88 kB / 0.6976 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4938, allocations: 4 kB / 0.6976 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006705/0.4945, allocations: 351.4 kB / 0.698 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.4946, allocations: 23.91 kB / 0.698 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.4946, allocations: 0 / 0.698 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000554/0.4952, allocations: 19.92 kB / 0.698 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.4952, allocations: 11.97 kB / 0.698 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.4952, allocations: 15.98 kB / 0.698 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.793e-05/0.4953, allocations: 83.28 kB / 0.6981 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.4953, allocations: 0 / 0.6981 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005272/0.4958, allocations: 103.7 kB / 0.6982 GB, free: 6.391 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.001422/0.4973, allocations: 1.003 MB / 0.6992 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000547/0.4978, allocations: 203.8 kB / 0.6994 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.4978, allocations: 0 / 0.6994 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.4981, allocations: 112.5 kB / 0.6995 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.4985, allocations: 31.91 kB / 0.6995 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009594/0.4995, allocations: 337.9 kB / 0.6999 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.876e-05/0.4996, allocations: 79.56 kB / 0.6999 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003353/0.4999, allocations: 64.84 kB / 0.7 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.5001, allocations: 47.39 kB / 0.7 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.5001, allocations: 0 / 0.7 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03844/0.5386, allocations: 8.82 MB / 0.7087 GB, free: 11.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.86, allocations: 2.75 kB / 0.7087 GB, free: 11.77 MB / 0.545 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.803871727082878]