Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001808/0.001808, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.002148/0.002148, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2241/0.2241, allocations: 46.94 MB / 360.8 MB, free: 4.172 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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 80.16 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.31, allocations: 66.09 MB / 0.5607 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1758/0.4858, allocations: 152.9 MB / 0.7101 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002176/0.4879, allocations: 1.604 MB / 0.7116 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.262e-05/0.488, allocations: 4 kB / 0.7116 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.4884, allocations: 43.73 kB / 0.7117 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.4895, allocations: 427.8 kB / 0.7121 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.49, allocations: 166.8 kB / 0.7122 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.4903, allocations: 187.2 kB / 0.7124 GB, free: 8.328 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.4903, allocations: 7.938 kB / 0.7124 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.4905, allocations: 87.62 kB / 0.7125 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.4906, allocations: 63.81 kB / 0.7126 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.4907, allocations: 4 kB / 0.7126 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.4919, allocations: 0.6314 MB / 0.7132 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.492, allocations: 35.84 kB / 0.7132 GB, free: 7.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.535e-05/0.492, allocations: 51.78 kB / 0.7133 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007999/0.4928, allocations: 410.9 kB / 0.7137 GB, free: 7.047 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4928, allocations: 0 / 0.7137 GB, free: 7.047 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4928, allocations: 0 / 0.7137 GB, free: 7.047 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.4928, allocations: 0 / 0.7137 GB, free: 7.047 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006019/0.4934, allocations: 365.8 kB / 0.714 GB, free: 6.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4935, allocations: 8.031 kB / 0.714 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.626e-05/0.4935, allocations: 42.73 kB / 0.7141 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.4958, allocations: 196.6 kB / 0.7143 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.496, allocations: 161.7 kB / 0.7144 GB, free: 6.227 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4961, allocations: 11.98 kB / 0.7144 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.4961, allocations: 19.94 kB / 0.7144 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.4966, allocations: 193.5 kB / 0.7146 GB, free: 6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4966, allocations: 4 kB / 0.7146 GB, free: 5.996 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.4966, allocations: 7.938 kB / 0.7146 GB, free: 5.988 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.4966, allocations: 0 / 0.7146 GB, free: 5.988 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006061/0.4972, allocations: 235.8 kB / 0.7149 GB, free: 5.758 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.4991, allocations: 0.6096 MB / 0.7155 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.4996, allocations: 178.5 kB / 0.7156 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.4998, allocations: 92.81 kB / 0.7157 GB, free: 4.828 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.4999, allocations: 19.98 kB / 0.7157 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.5, allocations: 30.56 kB / 0.7158 GB, free: 4.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.5, allocations: 3.938 kB / 0.7158 GB, free: 4.766 MB / 0.545 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005697/0.5057, allocations: 1.39 MB / 0.7171 GB, free: 3.301 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.5057, allocations: 59.34 kB / 0.7172 GB, free: 3.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.5058, allocations: 113.8 kB / 0.7173 GB, free: 3.109 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.5059, allocations: 29.7 kB / 0.7173 GB, free: 3.074 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.5059, allocations: 100.4 kB / 0.7174 GB, free: 2.973 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.486e-05/0.506, allocations: 71.42 kB / 0.7175 GB, free: 2.902 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-05/0.5061, allocations: 45.64 kB / 0.7175 GB, free: 2.852 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5062, allocations: 318.8 kB / 0.7178 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.5065, allocations: 87.95 kB / 0.7179 GB, free: 2.445 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.5067, allocations: 131.4 kB / 0.718 GB, free: 2.305 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.5072, allocations: 226.2 kB / 0.7183 GB, free: 2.074 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5072, allocations: 0 / 0.7183 GB, free: 2.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006258/0.5078, allocations: 282.3 kB / 0.7185 GB, free: 1.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5078, allocations: 7.984 kB / 0.7185 GB, free: 1.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5078, allocations: 4 kB / 0.7185 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.508, allocations: 28.78 kB / 0.7186 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.5084, allocations: 47.97 kB / 0.7186 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004205/0.5088, allocations: 0.5446 MB / 0.7191 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.5091, allocations: 8 kB / 0.7192 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.5092, allocations: 7.984 kB / 0.7192 GB, free: 1.113 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.5093, allocations: 127.2 kB / 0.7193 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.5094, allocations: 7.953 kB / 0.7193 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007666/0.5101, allocations: 319.4 kB / 0.7196 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5101, allocations: 0 / 0.7196 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5101, allocations: 0 / 0.7196 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5101, allocations: 3.938 kB / 0.7196 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.5113, allocations: 0.6614 MB / 0.7202 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5113, allocations: 0 / 0.7202 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.5118, allocations: 51.89 kB / 0.7203 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-05/0.5119, allocations: 24.94 kB / 0.7203 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.5119, allocations: 4 kB / 0.7203 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.5129, allocations: 1.275 MB / 0.7216 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.5129, allocations: 0 / 0.7216 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008773/0.5138, allocations: 450.7 kB / 0.722 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.5138, allocations: 7.984 kB / 0.722 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.5139, allocations: 4 kB / 0.722 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.5142, allocations: 15.98 kB / 0.722 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.5142, allocations: 15.91 kB / 0.722 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.5143, allocations: 15.98 kB / 0.7221 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.714e-05/0.5143, allocations: 87.34 kB / 0.7221 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5143, allocations: 0 / 0.7221 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005595/0.5149, allocations: 139.7 kB / 0.7223 GB, free: 13.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001849/0.5167, allocations: 1.139 MB / 0.7234 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006428/0.5174, allocations: 227.1 kB / 0.7236 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5174, allocations: 0 / 0.7236 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.5178, allocations: 234.9 kB / 0.7238 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.5183, allocations: 44.83 kB / 0.7239 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.5214, allocations: 2.14 MB / 0.726 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.5218, allocations: 0.7086 MB / 0.7266 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002894/0.5221, allocations: 57.77 kB / 0.7267 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.5222, allocations: 39.42 kB / 0.7267 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.5222, allocations: 0 / 0.7267 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04044/0.5626, allocations: 8.172 MB / 0.7347 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.61, allocations: 256 / 0.7347 GB, free: 0.8555 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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: 16.869801839115098]