Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001654/0.001654, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.25/0.25, allocations: 46.12 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 79.86 kB / 481.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3829, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1947/0.5776, allocations: 152.3 MB / 0.6798 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.5792, allocations: 1.063 MB / 0.6808 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.5793, allocations: 0 / 0.6808 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.5795, allocations: 35.75 kB / 0.6808 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007115/0.5803, allocations: 270.6 kB / 0.6811 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.5808, allocations: 119.2 kB / 0.6812 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00026/0.581, allocations: 183.2 kB / 0.6814 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.5811, allocations: 11.92 kB / 0.6814 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.5813, allocations: 87.69 kB / 0.6815 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.5814, allocations: 63.69 kB / 0.6815 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.5814, allocations: 4 kB / 0.6815 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006021/0.582, allocations: 271.7 kB / 0.6818 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.5821, allocations: 19.97 kB / 0.6818 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.773e-05/0.5822, allocations: 47.78 kB / 0.6819 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.5827, allocations: 287.8 kB / 0.6821 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5827, allocations: 4 kB / 0.6821 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5827, allocations: 0 / 0.6821 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.5827, allocations: 0 / 0.6821 GB, free: 6.434 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005579/0.5833, allocations: 410.9 kB / 0.6825 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5833, allocations: 8.031 kB / 0.6825 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.5855, allocations: 196.6 kB / 0.6827 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.5859, allocations: 211.6 kB / 0.6829 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.5859, allocations: 8 kB / 0.6829 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.5859, allocations: 11.98 kB / 0.6829 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.5865, allocations: 222.4 kB / 0.6832 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.5865, allocations: 0 / 0.6832 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.5866, allocations: 12 kB / 0.6832 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5866, allocations: 0 / 0.6832 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.587, allocations: 167.8 kB / 0.6833 GB, free: 5.113 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.001059/0.5881, allocations: 0.5795 MB / 0.6839 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.5885, allocations: 134.5 kB / 0.684 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.5886, allocations: 76.81 kB / 0.6841 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.5887, allocations: 0 / 0.6841 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.5887, allocations: 38.55 kB / 0.6841 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 9.71e-07/0.5887, allocations: 0 / 0.6841 GB, free: 4.211 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.005407/0.5941, allocations: 1.317 MB / 0.6854 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.5942, allocations: 51.41 kB / 0.6855 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.352e-05/0.5943, allocations: 110 kB / 0.6856 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.5943, allocations: 33.64 kB / 0.6856 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.5944, allocations: 99.98 kB / 0.6857 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.5945, allocations: 71.42 kB / 0.6858 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.5946, allocations: 57.64 kB / 0.6858 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5947, allocations: 318.8 kB / 0.6861 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.5949, allocations: 75.95 kB / 0.6862 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.5951, allocations: 99.25 kB / 0.6863 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.5955, allocations: 183.3 kB / 0.6865 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5955, allocations: 0 / 0.6865 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005348/0.5961, allocations: 265.8 kB / 0.6867 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.5961, allocations: 8.094 kB / 0.6867 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5961, allocations: 0 / 0.6867 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.5963, allocations: 48.83 kB / 0.6868 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.5966, allocations: 55.89 kB / 0.6868 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004643/0.5971, allocations: 0.5641 MB / 0.6874 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.5973, allocations: 8.078 kB / 0.6874 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.5973, allocations: 28 kB / 0.6874 GB, free: 0.6484 MB / 0.5294 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.0001271/0.5975, allocations: 125.7 kB / 0.6875 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.5975, allocations: 11.95 kB / 0.6875 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008994/0.5984, allocations: 351 kB / 0.6879 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.5984, allocations: 4 kB / 0.6879 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5984, allocations: 0 / 0.6879 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5985, allocations: 7.938 kB / 0.6879 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.5996, allocations: 0.6152 MB / 0.6885 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5996, allocations: 0 / 0.6885 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.6, allocations: 67.89 kB / 0.6886 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.222e-05/0.6, allocations: 20.94 kB / 0.6886 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.6001, allocations: 15.98 kB / 0.6886 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.6014, allocations: 1.373 MB / 0.6899 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.6014, allocations: 4.031 kB / 0.6899 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007251/0.6021, allocations: 433.1 kB / 0.6903 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.6022, allocations: 93.03 kB / 0.6904 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.6022, allocations: 7.938 kB / 0.6904 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.6024, allocations: 8 kB / 0.6905 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.6025, allocations: 27.97 kB / 0.6905 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.6025, allocations: 23.98 kB / 0.6905 GB, free: 13.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.849e-05/0.6026, allocations: 99.27 kB / 0.6906 GB, free: 13.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6026, allocations: 0 / 0.6906 GB, free: 13.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003935/0.603, allocations: 83.88 kB / 0.6907 GB, free: 13.03 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 (21): * Single equations (assignments): 20 * 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.000456/0.6035, allocations: 151 kB / 0.6908 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005124/0.604, allocations: 200.9 kB / 0.691 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.604, allocations: 4 kB / 0.691 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004785/0.6045, allocations: 222.9 kB / 0.6912 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.605, allocations: 54.77 kB / 0.6913 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/0.6058, allocations: 473.6 kB / 0.6917 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.6063, allocations: 0.7124 MB / 0.6924 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002909/0.6066, allocations: 73.39 kB / 0.6925 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.6068, allocations: 51.41 kB / 0.6925 GB, free: 11.03 MB / 0.545 GB Notification: Performance of SimCode: time 3.7e-07/0.6068, allocations: 0 / 0.6925 GB, free: 11.03 MB / 0.545 GB Notification: Performance of Templates: time 0.01066/0.6175, allocations: 5.637 MB / 0.6981 GB, free: 5.395 MB / 0.545 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches