Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001578/0.001578, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001852/0.001852, allocations: 205.3 kB / 23.72 MB, free: 4.391 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2265/0.2265, allocations: 46.95 MB / 360.8 MB, free: 3.93 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.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 79.88 kB / 0.4962 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3196, allocations: 66.08 MB / 0.5607 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1663/0.4859, allocations: 133.3 MB / 0.6908 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.4875, allocations: 1.063 MB / 0.6919 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.4875, allocations: 0 / 0.6919 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.4877, allocations: 43.75 kB / 0.6919 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.367e-05/0.4878, allocations: 31.77 kB / 0.6919 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.4892, allocations: 425.7 kB / 0.6923 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.4893, allocations: 63.67 kB / 0.6924 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.4893, allocations: 8 kB / 0.6924 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.4894, allocations: 35.84 kB / 0.6924 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.4895, allocations: 27.86 kB / 0.6925 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.4895, allocations: 0 / 0.6925 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.4906, allocations: 470.8 kB / 0.6929 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.4906, allocations: 4 kB / 0.6929 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.4906, allocations: 23.94 kB / 0.6929 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.4913, allocations: 313.1 kB / 0.6932 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4913, allocations: 0 / 0.6932 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4913, allocations: 0 / 0.6932 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.4913, allocations: 0 / 0.6932 GB, free: 11.79 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.0005882/0.4919, allocations: 333.6 kB / 0.6936 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4919, allocations: 12.03 kB / 0.6936 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.4919, allocations: 34.75 kB / 0.6936 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.492, allocations: 8.688 kB / 0.6936 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.4921, allocations: 117.1 kB / 0.6937 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.4921, allocations: 0 / 0.6937 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.4922, allocations: 19.94 kB / 0.6937 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.4923, allocations: 69.66 kB / 0.6938 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4923, allocations: 0 / 0.6938 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4923, allocations: 4 kB / 0.6938 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.4923, allocations: 4 kB / 0.6938 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.067e-05/0.4924, allocations: 51.91 kB / 0.6939 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.4929, allocations: 271.9 kB / 0.6941 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.493, allocations: 62.55 kB / 0.6942 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.493, allocations: 16.86 kB / 0.6942 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/0.4944, allocations: 259.7 kB / 0.6945 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.4945, allocations: 34.55 kB / 0.6945 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.4945, allocations: 0 / 0.6945 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006852/0.5013, allocations: 0.6645 MB / 0.6951 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.5014, allocations: 55.41 kB / 0.6952 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.5015, allocations: 105.8 kB / 0.6953 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.5015, allocations: 25.7 kB / 0.6953 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.5015, allocations: 92.33 kB / 0.6954 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.5016, allocations: 47.58 kB / 0.6954 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.5017, allocations: 45.67 kB / 0.6955 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5019, allocations: 322.8 kB / 0.6958 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.5021, allocations: 75.95 kB / 0.6959 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.5023, allocations: 114.7 kB / 0.696 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.5027, allocations: 194.5 kB / 0.6962 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.5027, allocations: 4 kB / 0.6962 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000587/0.5033, allocations: 249.5 kB / 0.6964 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5033, allocations: 6.031 kB / 0.6964 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5033, allocations: 4.562 kB / 0.6964 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.5034, allocations: 0 / 0.6964 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/0.504, allocations: 59.94 kB / 0.6965 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.5041, allocations: 0 / 0.6965 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.5046, allocations: 16 kB / 0.6965 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.5046, allocations: 15.97 kB / 0.6965 GB, free: 8.246 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.0001272/0.5048, allocations: 121.7 kB / 0.6966 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.5048, allocations: 7.953 kB / 0.6966 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007858/0.5056, allocations: 352.2 kB / 0.697 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.5056, allocations: 4 kB / 0.697 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5056, allocations: 0 / 0.697 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5056, allocations: 3.984 kB / 0.697 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.5068, allocations: 0.7116 MB / 0.6977 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5068, allocations: 0 / 0.6977 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000639/0.5074, allocations: 43.97 kB / 0.6977 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5074, allocations: 8 kB / 0.6977 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.5075, allocations: 3.984 kB / 0.6977 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.5075, allocations: 7.875 kB / 0.6977 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5075, allocations: 11.88 kB / 0.6977 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006041/0.5081, allocations: 349.9 kB / 0.6981 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.5082, allocations: 27.91 kB / 0.6981 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.5082, allocations: 4 kB / 0.6981 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005398/0.5088, allocations: 15.92 kB / 0.6981 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.5088, allocations: 15.97 kB / 0.6981 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.5088, allocations: 8 kB / 0.6981 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.5089, allocations: 91.27 kB / 0.6982 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5089, allocations: 0 / 0.6982 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004342/0.5093, allocations: 107.7 kB / 0.6983 GB, free: 6.258 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.001275/0.5106, allocations: 0.9932 MB / 0.6993 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005261/0.5111, allocations: 203.8 kB / 0.6995 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5111, allocations: 0 / 0.6995 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.5114, allocations: 115.8 kB / 0.6996 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.5118, allocations: 34.14 kB / 0.6996 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009627/0.5128, allocations: 328.4 kB / 0.7 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.126e-05/0.5129, allocations: 79.56 kB / 0.7 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003395/0.5132, allocations: 64.84 kB / 0.7001 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.5134, allocations: 43.39 kB / 0.7001 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.5134, allocations: 0 / 0.7001 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/0.5503, allocations: 8.833 MB / 0.7088 GB, free: 11.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.38, allocations: 12 kB / 0.7088 GB, free: 11.59 MB / 0.545 GB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.397388027980924]