Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.001375/0.001375, allocations: 107.5 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.001476/0.001476, allocations: 213.2 kB / 24.52 MB, free: 3.91 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.409/1.409, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.222/0.222, allocations: 46.94 MB / 361.6 MB, free: 3.914 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.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 75.88 kB / 0.4969 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3174, allocations: 66.08 MB / 0.5614 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1602/0.4775, allocations: 131.3 MB / 0.6896 GB, free: 248 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.4789, allocations: 0.95 MB / 0.6905 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.479, allocations: 0 / 0.6905 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.4792, allocations: 35.78 kB / 0.6906 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006528/0.4799, allocations: 280.4 kB / 0.6908 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.4802, allocations: 114.9 kB / 0.6909 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.4804, allocations: 187.2 kB / 0.6911 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.4805, allocations: 11.98 kB / 0.6911 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.4807, allocations: 91.62 kB / 0.6912 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.4808, allocations: 63.75 kB / 0.6913 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.4808, allocations: 4 kB / 0.6913 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.4813, allocations: 263.7 kB / 0.6915 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.4814, allocations: 23.91 kB / 0.6916 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.721e-05/0.4814, allocations: 39.86 kB / 0.6916 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.4819, allocations: 287.1 kB / 0.6919 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4819, allocations: 0 / 0.6919 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4819, allocations: 4 kB / 0.6919 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4819, allocations: 4 kB / 0.6919 GB, free: 13.91 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.0005017/0.4824, allocations: 333.8 kB / 0.6922 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4824, allocations: 8.031 kB / 0.6922 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.862e-05/0.4824, allocations: 4.188 kB / 0.6922 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.4825, allocations: 38.73 kB / 0.6922 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.4845, allocations: 200.6 kB / 0.6924 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.4848, allocations: 153.4 kB / 0.6926 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.4848, allocations: 4 kB / 0.6926 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.4849, allocations: 16 kB / 0.6926 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.4854, allocations: 303.9 kB / 0.6929 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.4854, allocations: 0 / 0.6929 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.4855, allocations: 8 kB / 0.6929 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4855, allocations: 3.938 kB / 0.6929 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.4859, allocations: 171.9 kB / 0.6931 GB, free: 12.6 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.001008/0.4869, allocations: 0.5355 MB / 0.6936 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.4873, allocations: 138.5 kB / 0.6937 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.4874, allocations: 64.83 kB / 0.6938 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.4874, allocations: 4 kB / 0.6938 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.4875, allocations: 42.48 kB / 0.6938 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.4875, allocations: 0 / 0.6938 GB, free: 11.75 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.005108/0.4926, allocations: 1.147 MB / 0.6949 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.4926, allocations: 55.34 kB / 0.695 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.4927, allocations: 121.7 kB / 0.6951 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.4927, allocations: 25.7 kB / 0.6951 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.4928, allocations: 99.98 kB / 0.6952 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.496e-05/0.4929, allocations: 71.38 kB / 0.6953 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.493, allocations: 61.69 kB / 0.6954 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4931, allocations: 322.8 kB / 0.6957 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.4933, allocations: 67.95 kB / 0.6957 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.4935, allocations: 107.2 kB / 0.6958 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.4938, allocations: 175.3 kB / 0.696 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4938, allocations: 4 kB / 0.696 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000503/0.4943, allocations: 261.7 kB / 0.6963 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4944, allocations: 10.03 kB / 0.6963 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4944, allocations: 0 / 0.6963 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.4945, allocations: 52.77 kB / 0.6963 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.4949, allocations: 51.97 kB / 0.6964 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004505/0.4953, allocations: 0.5679 MB / 0.6969 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.4955, allocations: 4.188 kB / 0.6969 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.4955, allocations: 31.98 kB / 0.697 GB, free: 8.379 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.0001224/0.4956, allocations: 119.2 kB / 0.6971 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.4957, allocations: 23.83 kB / 0.6971 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007478/0.4964, allocations: 343 kB / 0.6974 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4964, allocations: 4 kB / 0.6974 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4965, allocations: 0 / 0.6974 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4965, allocations: 0 / 0.6974 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009838/0.4974, allocations: 0.5714 MB / 0.698 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.4974, allocations: 7.984 kB / 0.698 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.4978, allocations: 63.89 kB / 0.698 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-05/0.4979, allocations: 20.84 kB / 0.6981 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.4979, allocations: 11.94 kB / 0.6981 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009587/0.4989, allocations: 1.275 MB / 0.6993 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4989, allocations: 4.031 kB / 0.6993 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.4996, allocations: 434.6 kB / 0.6997 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.4996, allocations: 7.953 kB / 0.6997 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.4996, allocations: 0 / 0.6997 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.4998, allocations: 11.98 kB / 0.6998 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.4999, allocations: 23.97 kB / 0.6998 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.4999, allocations: 32.08 kB / 0.6998 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.5, allocations: 87.28 kB / 0.6999 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5, allocations: 0 / 0.6999 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003854/0.5004, allocations: 83.92 kB / 0.7 GB, free: 5.062 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 (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.001232/0.5016, allocations: 1.01 MB / 0.701 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004825/0.5021, allocations: 191.8 kB / 0.7011 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5021, allocations: 0 / 0.7011 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.5024, allocations: 230.9 kB / 0.7014 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.5029, allocations: 40.5 kB / 0.7014 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.5056, allocations: 2.093 MB / 0.7034 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.974e-05/0.5057, allocations: 89.97 kB / 0.7035 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002992/0.506, allocations: 81.33 kB / 0.7036 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.5062, allocations: 71.39 kB / 0.7037 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of SimCode: time 7.52e-07/0.5062, allocations: 0 / 0.7037 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/0.5477, allocations: 7.605 MB / 0.7111 GB, free: 9.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.27, allocations: 4.031 kB / 0.7111 GB, free: 9.59 MB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.252002659020945]