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.001497/0.001497, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, 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.2157/0.2157, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3805, allocations: 62.42 MB / 0.5305 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1623/0.5428, allocations: 154.4 MB / 0.6813 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.5443, allocations: 1.195 MB / 0.6824 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.5443, allocations: 0 / 0.6824 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.5445, allocations: 43.78 kB / 0.6825 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.254e-05/0.5446, allocations: 23.8 kB / 0.6825 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.5459, allocations: 452 kB / 0.6829 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.546, allocations: 63.61 kB / 0.683 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.5461, allocations: 8 kB / 0.683 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.5462, allocations: 31.91 kB / 0.683 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.595e-05/0.5462, allocations: 23.86 kB / 0.683 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.228e-06/0.5462, allocations: 0 / 0.683 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.5472, allocations: 0.4987 MB / 0.6835 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.5473, allocations: 11.98 kB / 0.6835 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.5473, allocations: 31.86 kB / 0.6836 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.5478, allocations: 315.3 kB / 0.6839 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5478, allocations: 0 / 0.6839 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5478, allocations: 0 / 0.6839 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.5478, allocations: 0 / 0.6839 GB, free: 4.039 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.0005108/0.5483, allocations: 407.3 kB / 0.6843 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.5484, allocations: 8.031 kB / 0.6843 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.5484, allocations: 38.75 kB / 0.6843 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.5485, allocations: 16.59 kB / 0.6843 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.626e-05/0.5486, allocations: 170.9 kB / 0.6845 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.5486, allocations: 8 kB / 0.6845 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.5486, allocations: 7.984 kB / 0.6845 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.5488, allocations: 68.8 kB / 0.6846 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5488, allocations: 0 / 0.6846 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.5488, allocations: 4 kB / 0.6846 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.5488, allocations: 0 / 0.6846 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.231e-05/0.5489, allocations: 59.84 kB / 0.6846 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.5493, allocations: 373.9 kB / 0.685 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.5494, allocations: 62.55 kB / 0.685 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.5494, allocations: 17.05 kB / 0.6851 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/0.5511, allocations: 1.232 MB / 0.6863 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.5511, allocations: 30.56 kB / 0.6863 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.5511, allocations: 0 / 0.6863 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006572/0.5577, allocations: 0.6531 MB / 0.6869 GB, free: 484 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.5578, allocations: 51.41 kB / 0.687 GB, free: 420 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.495e-05/0.5578, allocations: 105.9 kB / 0.6871 GB, free: 304 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.5579, allocations: 29.64 kB / 0.6871 GB, free: 268 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.5579, allocations: 92.25 kB / 0.6872 GB, free: 172 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.558, allocations: 55.25 kB / 0.6872 GB, free: 116 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.5581, allocations: 41.67 kB / 0.6873 GB, free: 68 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5582, allocations: 322.8 kB / 0.6876 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.5584, allocations: 80.5 kB / 0.6877 GB, free: 15.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.5586, allocations: 114.5 kB / 0.6878 GB, free: 15.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.559, allocations: 198.5 kB / 0.688 GB, free: 15.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5591, allocations: 0 / 0.688 GB, free: 15.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005235/0.5596, allocations: 245.6 kB / 0.6882 GB, free: 15.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5596, allocations: 12.06 kB / 0.6882 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5596, allocations: 4.188 kB / 0.6882 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5596, allocations: 0 / 0.6882 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.5603, allocations: 55.89 kB / 0.6883 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.5603, allocations: 3.984 kB / 0.6883 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.5608, allocations: 16 kB / 0.6883 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.5609, allocations: 11.98 kB / 0.6883 GB, free: 14.99 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.0001165/0.561, allocations: 121.7 kB / 0.6884 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.5611, allocations: 11.91 kB / 0.6884 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007616/0.5619, allocations: 345.3 kB / 0.6888 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5619, allocations: 4 kB / 0.6888 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5619, allocations: 0 / 0.6888 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.5619, allocations: 0 / 0.6888 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.563, allocations: 0.7632 MB / 0.6895 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.563, allocations: 0 / 0.6895 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000601/0.5636, allocations: 51.89 kB / 0.6896 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.5636, allocations: 4 kB / 0.6896 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.5636, allocations: 4 kB / 0.6896 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.5637, allocations: 11.92 kB / 0.6896 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5637, allocations: 0 / 0.6896 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.5642, allocations: 350.1 kB / 0.6899 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.726e-05/0.5643, allocations: 101 kB / 0.69 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.5644, allocations: 7.984 kB / 0.69 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005295/0.5649, allocations: 15.94 kB / 0.69 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.565, allocations: 11.97 kB / 0.69 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.565, allocations: 8 kB / 0.69 GB, free: 13.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.5651, allocations: 91.2 kB / 0.6901 GB, free: 12.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5651, allocations: 4 kB / 0.6901 GB, free: 12.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004416/0.5655, allocations: 103.9 kB / 0.6902 GB, free: 12.86 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.001139/0.5667, allocations: 0.9973 MB / 0.6912 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005043/0.5672, allocations: 209.5 kB / 0.6914 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5672, allocations: 0 / 0.6914 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.5674, allocations: 119.8 kB / 0.6915 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.5679, allocations: 40.03 kB / 0.6916 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008686/0.5688, allocations: 313.8 kB / 0.6919 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.569, allocations: 0.7003 MB / 0.6925 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003074/0.5694, allocations: 64.73 kB / 0.6926 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.5696, allocations: 43.39 kB / 0.6926 GB, free: 10.31 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.5696, allocations: 0 / 0.6926 GB, free: 10.31 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.5941, allocations: 7.725 MB / 0.7002 GB, free: 2.648 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/8.249, allocations: 4.828 kB / 0.7002 GB, free: 2.645 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