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.001308/0.001308, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001358/0.001358, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.388/1.388, allocations: 230.5 MB / 258.2 MB, free: 7.742 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.2201/0.2201, allocations: 46.95 MB / 361.6 MB, free: 3.934 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 79.88 kB / 0.4969 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3007, allocations: 66.08 MB / 0.5614 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1591/0.4598, allocations: 131.4 MB / 0.6898 GB, free: 136 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.462, allocations: 1.425 MB / 0.6912 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.024e-05/0.4621, allocations: 0 / 0.6912 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.4624, allocations: 47.75 kB / 0.6912 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.4636, allocations: 419.8 kB / 0.6916 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.4641, allocations: 174.9 kB / 0.6918 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.4644, allocations: 183.2 kB / 0.6919 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.4644, allocations: 7.938 kB / 0.692 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.4646, allocations: 83.69 kB / 0.692 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.4648, allocations: 67.73 kB / 0.6921 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.4648, allocations: 8 kB / 0.6921 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.4658, allocations: 0.5533 MB / 0.6926 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/0.4659, allocations: 27.91 kB / 0.6927 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.549e-05/0.466, allocations: 47.84 kB / 0.6927 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007083/0.4667, allocations: 395 kB / 0.6931 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4667, allocations: 7.938 kB / 0.6931 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4667, allocations: 3.938 kB / 0.6931 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.4667, allocations: 0 / 0.6931 GB, free: 12.71 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.0005763/0.4673, allocations: 361.8 kB / 0.6935 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4673, allocations: 12.03 kB / 0.6935 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.573e-05/0.4673, allocations: 4.375 kB / 0.6935 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.4674, allocations: 42.73 kB / 0.6935 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.4695, allocations: 196.6 kB / 0.6937 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.4698, allocations: 161.4 kB / 0.6939 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.4698, allocations: 4 kB / 0.6939 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.4698, allocations: 12 kB / 0.6939 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.4704, allocations: 278.6 kB / 0.6941 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4704, allocations: 3.938 kB / 0.6941 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.4704, allocations: 8 kB / 0.6941 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.4704, allocations: 0 / 0.6941 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005992/0.471, allocations: 235.8 kB / 0.6944 GB, free: 11.33 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.001652/0.4727, allocations: 0.5743 MB / 0.6949 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.4731, allocations: 186.4 kB / 0.6951 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.4733, allocations: 88.81 kB / 0.6952 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.4735, allocations: 15.98 kB / 0.6952 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.4735, allocations: 34.56 kB / 0.6952 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.4735, allocations: 0 / 0.6952 GB, free: 10.37 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.005552/0.479, allocations: 1.387 MB / 0.6966 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.4791, allocations: 51.41 kB / 0.6966 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/0.4792, allocations: 113.8 kB / 0.6968 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.4792, allocations: 33.69 kB / 0.6968 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.4793, allocations: 100.4 kB / 0.6969 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.117e-05/0.4794, allocations: 75.41 kB / 0.697 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.4795, allocations: 41.7 kB / 0.697 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4796, allocations: 322.8 kB / 0.6973 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.4798, allocations: 91.89 kB / 0.6974 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.4801, allocations: 119.4 kB / 0.6975 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.4806, allocations: 234.6 kB / 0.6977 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4806, allocations: 0 / 0.6977 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000643/0.4812, allocations: 278.3 kB / 0.698 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.4812, allocations: 4 kB / 0.698 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.4812, allocations: 7.984 kB / 0.698 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.4814, allocations: 24.94 kB / 0.698 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/0.4818, allocations: 59.84 kB / 0.6981 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004725/0.4823, allocations: 0.5367 MB / 0.6986 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.4826, allocations: 8 kB / 0.6986 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.4826, allocations: 7.984 kB / 0.6986 GB, free: 6.723 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.0001647/0.4828, allocations: 127.1 kB / 0.6987 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.4828, allocations: 7.953 kB / 0.6988 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007856/0.4836, allocations: 323 kB / 0.6991 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4836, allocations: 0 / 0.6991 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.4836, allocations: 4 kB / 0.6991 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.4836, allocations: 0 / 0.6991 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.4847, allocations: 0.6224 MB / 0.6997 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4848, allocations: 4 kB / 0.6997 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.4852, allocations: 47.95 kB / 0.6997 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.07e-05/0.4853, allocations: 24.78 kB / 0.6997 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.4853, allocations: 4 kB / 0.6997 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009812/0.4863, allocations: 1.268 MB / 0.701 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4863, allocations: 3.938 kB / 0.701 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009074/0.4872, allocations: 450.6 kB / 0.7014 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.4872, allocations: 8.203 kB / 0.7014 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.4872, allocations: 12 kB / 0.7014 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.4875, allocations: 7.984 kB / 0.7014 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.4876, allocations: 23.91 kB / 0.7015 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.4876, allocations: 8 kB / 0.7015 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.464e-05/0.4877, allocations: 95.19 kB / 0.7016 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.4877, allocations: 4 kB / 0.7016 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005082/0.4882, allocations: 135.7 kB / 0.7017 GB, free: 3.344 MB / 0.5294 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.001789/0.49, allocations: 1.135 MB / 0.7028 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006313/0.4906, allocations: 234.7 kB / 0.703 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.4906, allocations: 4 kB / 0.703 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.491, allocations: 226.6 kB / 0.7033 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.4915, allocations: 46 kB / 0.7033 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.4946, allocations: 2.133 MB / 0.7054 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.851e-05/0.4947, allocations: 97.83 kB / 0.7055 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002828/0.4949, allocations: 53.77 kB / 0.7055 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.4951, allocations: 39.41 kB / 0.7056 GB, free: 15.2 MB / 0.545 GB Notification: Performance of SimCode: time 6.32e-07/0.4951, allocations: 4 kB / 0.7056 GB, free: 15.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.5291, allocations: 8.397 MB / 0.7138 GB, free: 6.914 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.38, allocations: 10.81 kB / 0.7138 GB, free: 6.906 MB / 0.545 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.35129068105016]