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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 79.88 kB / 480.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3212, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1627/0.484, allocations: 154.4 MB / 0.6812 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.4858, allocations: 1.203 MB / 0.6824 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.4859, allocations: 11.94 kB / 0.6824 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.4861, allocations: 39.8 kB / 0.6825 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.4862, allocations: 19.78 kB / 0.6825 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.4877, allocations: 448 kB / 0.6829 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.4879, allocations: 67.59 kB / 0.683 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.4879, allocations: 4 kB / 0.683 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.488, allocations: 31.91 kB / 0.683 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.4881, allocations: 27.86 kB / 0.683 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.4881, allocations: 4 kB / 0.683 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.4893, allocations: 0.4987 MB / 0.6835 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.4893, allocations: 7.984 kB / 0.6835 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.4894, allocations: 27.86 kB / 0.6836 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006309/0.49, allocations: 311.3 kB / 0.6839 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.49, allocations: 0 / 0.6839 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.452e-06/0.49, allocations: 0 / 0.6839 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.49, allocations: 0 / 0.6839 GB, free: 4.172 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.0006261/0.4907, allocations: 407.3 kB / 0.6843 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4907, allocations: 16.03 kB / 0.6843 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.4908, allocations: 38.69 kB / 0.6843 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.4908, allocations: 16.58 kB / 0.6843 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.4909, allocations: 167 kB / 0.6845 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.4909, allocations: 0 / 0.6845 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.491, allocations: 11.94 kB / 0.6845 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4911, allocations: 68.92 kB / 0.6846 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4912, allocations: 0 / 0.6846 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.4912, allocations: 4 kB / 0.6846 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.4912, allocations: 0 / 0.6846 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.4913, allocations: 63.83 kB / 0.6846 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.4917, allocations: 377.9 kB / 0.685 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.4919, allocations: 58.75 kB / 0.685 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.4919, allocations: 28.78 kB / 0.6851 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/0.4937, allocations: 1.213 MB / 0.6862 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.4938, allocations: 38.55 kB / 0.6863 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.4938, allocations: 0 / 0.6863 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006818/0.5006, allocations: 0.6492 MB / 0.6869 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.5007, allocations: 63.34 kB / 0.687 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.5008, allocations: 105.8 kB / 0.6871 GB, free: 428 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.5009, allocations: 33.7 kB / 0.6871 GB, free: 388 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.5009, allocations: 92.25 kB / 0.6872 GB, free: 292 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/0.501, allocations: 43.27 kB / 0.6872 GB, free: 248 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.5011, allocations: 49.67 kB / 0.6873 GB, free: 192 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5012, allocations: 318.8 kB / 0.6876 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.5014, allocations: 83.95 kB / 0.6877 GB, free: 15.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.5017, allocations: 114.4 kB / 0.6878 GB, free: 15.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.5021, allocations: 194.5 kB / 0.688 GB, free: 15.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5021, allocations: 0 / 0.688 GB, free: 15.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005586/0.5027, allocations: 249.6 kB / 0.6882 GB, free: 15.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5027, allocations: 4 kB / 0.6882 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5027, allocations: 0 / 0.6882 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.5028, allocations: 4 kB / 0.6882 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.5034, allocations: 55.94 kB / 0.6883 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.5034, allocations: 0 / 0.6883 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.504, allocations: 15.94 kB / 0.6883 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.504, allocations: 19.97 kB / 0.6883 GB, free: 15.12 MB / 0.545 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.0001263/0.5042, allocations: 121.8 kB / 0.6884 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.5042, allocations: 7.906 kB / 0.6884 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008039/0.505, allocations: 348.1 kB / 0.6888 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.5051, allocations: 3.984 kB / 0.6888 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5051, allocations: 4 kB / 0.6888 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5051, allocations: 0 / 0.6888 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.5062, allocations: 0.7593 MB / 0.6895 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5063, allocations: 0 / 0.6895 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.5069, allocations: 47.89 kB / 0.6896 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.5069, allocations: 0 / 0.6896 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.5069, allocations: 11.98 kB / 0.6896 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.5069, allocations: 3.938 kB / 0.6896 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.507, allocations: 4 kB / 0.6896 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/0.5075, allocations: 350 kB / 0.6899 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.5077, allocations: 101 kB / 0.69 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.5077, allocations: 4.25 kB / 0.69 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005379/0.5083, allocations: 19.88 kB / 0.69 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.5083, allocations: 15.97 kB / 0.69 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.5084, allocations: 15.98 kB / 0.6901 GB, free: 13.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.5084, allocations: 79.28 kB / 0.6901 GB, free: 13.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5084, allocations: 0 / 0.6901 GB, free: 13.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004466/0.5089, allocations: 107.9 kB / 0.6902 GB, free: 13 MB / 0.545 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.00127/0.5101, allocations: 1.001 MB / 0.6912 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005372/0.5107, allocations: 209.3 kB / 0.6914 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5107, allocations: 4.125 kB / 0.6914 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.511, allocations: 123.8 kB / 0.6915 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.5114, allocations: 34.08 kB / 0.6916 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008684/0.5123, allocations: 313.8 kB / 0.6919 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.5126, allocations: 0.7004 MB / 0.6925 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003248/0.5129, allocations: 64.73 kB / 0.6926 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.5131, allocations: 43.39 kB / 0.6927 GB, free: 10.44 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.5131, allocations: 4 kB / 0.6927 GB, free: 10.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.5398, allocations: 7.714 MB / 0.7002 GB, free: 2.781 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.397, allocations: 0.8906 kB / 0.7002 GB, free: 2.781 MB / 0.545 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) "" Variables in the reference:time,T,eta,lambda,eta_der,lambda_der,eta2,lambda2,eta2_der,lambda2_der Variables in the result:T,Tmax,Tmin,der(T),der(eta),der(eta2),der(lambda),der(lambda2),eta,eta2,eta2_der,eta_der,lambda,lambda2,lambda2_der,lambda_der,state.T,state.p,state2.T,state2.p,time