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) 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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001184, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 198 kB / 18.73 MB, free: 4.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 75.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4134, allocations: 62.44 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1811/0.5945, allocations: 152.5 MB / 0.6799 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.5969, allocations: 1.6 MB / 0.6814 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.5971, allocations: 0 / 0.6814 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.5975, allocations: 51.72 kB / 0.6815 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.5989, allocations: 406 kB / 0.6819 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006398/0.5996, allocations: 178.7 kB / 0.682 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.5999, allocations: 179.3 kB / 0.6822 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.6, allocations: 4 kB / 0.6822 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.6002, allocations: 87.62 kB / 0.6823 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.6004, allocations: 55.83 kB / 0.6823 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.6004, allocations: 4 kB / 0.6823 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.6017, allocations: 0.6002 MB / 0.6829 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.6018, allocations: 31.89 kB / 0.683 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.936e-05/0.6019, allocations: 51.8 kB / 0.683 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008995/0.6028, allocations: 399.9 kB / 0.6834 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.6028, allocations: 4 kB / 0.6834 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6029, allocations: 3.938 kB / 0.6834 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.6029, allocations: 4 kB / 0.6834 GB, free: 5.258 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006313/0.6035, allocations: 434.9 kB / 0.6838 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.6036, allocations: 12.03 kB / 0.6838 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/0.6059, allocations: 196.6 kB / 0.684 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.6061, allocations: 211.7 kB / 0.6842 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.6062, allocations: 12 kB / 0.6842 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.6062, allocations: 12 kB / 0.6842 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.6067, allocations: 197.5 kB / 0.6844 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.6067, allocations: 0 / 0.6844 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.6068, allocations: 4 kB / 0.6844 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.6068, allocations: 7.938 kB / 0.6844 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.6074, allocations: 235.8 kB / 0.6847 GB, free: 3.871 MB / 0.5294 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.001756/0.6092, allocations: 0.663 MB / 0.6853 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/0.6096, allocations: 178.5 kB / 0.6855 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.6098, allocations: 100.7 kB / 0.6856 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.61, allocations: 101.1 kB / 0.6857 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.61, allocations: 30.56 kB / 0.6857 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.61, allocations: 3.938 kB / 0.6857 GB, free: 2.707 MB / 0.5294 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.005717/0.6157, allocations: 1.537 MB / 0.6872 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.6158, allocations: 51.41 kB / 0.6873 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.6159, allocations: 113.8 kB / 0.6874 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.6159, allocations: 29.69 kB / 0.6874 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.616, allocations: 100.4 kB / 0.6875 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.6161, allocations: 79.34 kB / 0.6876 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.6162, allocations: 41.7 kB / 0.6876 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.6163, allocations: 318.8 kB / 0.6879 GB, free: 296 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.6165, allocations: 87.95 kB / 0.688 GB, free: 208 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.6168, allocations: 127.4 kB / 0.6881 GB, free: 68 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.6173, allocations: 226.8 kB / 0.6883 GB, free: 15.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.6173, allocations: 0 / 0.6883 GB, free: 15.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006141/0.6179, allocations: 286.2 kB / 0.6886 GB, free: 15.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6179, allocations: 11.98 kB / 0.6886 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.6179, allocations: 0 / 0.6886 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.6181, allocations: 24.84 kB / 0.6886 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.6185, allocations: 51.91 kB / 0.6887 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003575/0.6189, allocations: 0.5369 MB / 0.6892 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.6192, allocations: 19.88 kB / 0.6892 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.6192, allocations: 7.984 kB / 0.6892 GB, free: 14.87 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.0001307/0.6194, allocations: 125.8 kB / 0.6894 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.6194, allocations: 7.953 kB / 0.6894 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007472/0.6202, allocations: 323.1 kB / 0.6897 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.6202, allocations: 0 / 0.6897 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.6202, allocations: 4 kB / 0.6897 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6202, allocations: 3.938 kB / 0.6897 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.6214, allocations: 0.6819 MB / 0.6903 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6214, allocations: 0 / 0.6903 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.6218, allocations: 51.89 kB / 0.6904 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.134e-05/0.6219, allocations: 28.94 kB / 0.6904 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.6219, allocations: 0 / 0.6904 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000957/0.6229, allocations: 1.373 MB / 0.6918 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6229, allocations: 0 / 0.6918 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008379/0.6238, allocations: 453.5 kB / 0.6922 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.6238, allocations: 89.05 kB / 0.6923 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.6239, allocations: 4 kB / 0.6923 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.6242, allocations: 12 kB / 0.6923 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.6242, allocations: 15.88 kB / 0.6923 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.6243, allocations: 8.062 kB / 0.6923 GB, free: 11.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.694e-05/0.6243, allocations: 99.56 kB / 0.6924 GB, free: 11.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6244, allocations: 0 / 0.6924 GB, free: 11.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000556/0.6249, allocations: 135.7 kB / 0.6925 GB, free: 11.2 MB / 0.545 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.0006722/0.6256, allocations: 266.6 kB / 0.6928 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006333/0.6262, allocations: 239.6 kB / 0.693 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6263, allocations: 0 / 0.693 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.6267, allocations: 234.8 kB / 0.6932 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.6271, allocations: 43.91 kB / 0.6933 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008659/0.628, allocations: 486.7 kB / 0.6938 GB, free: 9.902 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.6283, allocations: 0.7046 MB / 0.6944 GB, free: 9.172 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002831/0.6286, allocations: 49.62 kB / 0.6945 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.6287, allocations: 27.42 kB / 0.6945 GB, free: 9.098 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.6287, allocations: 0 / 0.6945 GB, free: 9.098 MB / 0.545 GB Notification: Performance of Templates: time 0.01095/0.6397, allocations: 6.211 MB / 0.7006 GB, free: 2.906 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches