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.002082/0.002082, allocations: 112.3 kB / 20.48 MB, free: 1.121 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.002227/0.002227, allocations: 214.6 kB / 23.78 MB, free: 4.316 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.522/1.522, allocations: 230.5 MB / 257.5 MB, free: 7.922 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.2325/0.2325, allocations: 46.95 MB / 360.9 MB, free: 3.902 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 87.8 kB / 0.4962 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.301, allocations: 66.08 MB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1784/0.4793, allocations: 131.3 MB / 0.689 GB, free: 168 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.4812, allocations: 0.954 MB / 0.69 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.4813, allocations: 0 / 0.69 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.4816, allocations: 39.69 kB / 0.69 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009643/0.4826, allocations: 276.4 kB / 0.6903 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.483, allocations: 115.6 kB / 0.6904 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.4834, allocations: 179.3 kB / 0.6905 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.423e-05/0.4834, allocations: 0 / 0.6905 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.4837, allocations: 103.5 kB / 0.6906 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.4838, allocations: 55.83 kB / 0.6907 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.4838, allocations: 4 kB / 0.6907 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000592/0.4844, allocations: 263.7 kB / 0.691 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-05/0.4845, allocations: 19.91 kB / 0.691 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.4846, allocations: 43.8 kB / 0.691 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.4851, allocations: 287.2 kB / 0.6913 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4851, allocations: 4 kB / 0.6913 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4851, allocations: 0 / 0.6913 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4851, allocations: 0 / 0.6913 GB, free: 13.84 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.000551/0.4857, allocations: 333.8 kB / 0.6916 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4857, allocations: 8.031 kB / 0.6916 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.777e-05/0.4858, allocations: 42.73 kB / 0.6917 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.488, allocations: 208.6 kB / 0.6919 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.4883, allocations: 153.6 kB / 0.692 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.4883, allocations: 4 kB / 0.692 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.4884, allocations: 12 kB / 0.692 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.489, allocations: 299.9 kB / 0.6923 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.489, allocations: 0 / 0.6923 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.489, allocations: 4 kB / 0.6923 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.489, allocations: 4 kB / 0.6923 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000465/0.4895, allocations: 167.8 kB / 0.6925 GB, free: 12.54 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.001106/0.4906, allocations: 0.5396 MB / 0.693 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.491, allocations: 142.5 kB / 0.6931 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.4911, allocations: 64.83 kB / 0.6932 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.4911, allocations: 0 / 0.6932 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.4912, allocations: 38.81 kB / 0.6932 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.4912, allocations: 3.938 kB / 0.6932 GB, free: 11.68 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.005376/0.4966, allocations: 1.16 MB / 0.6944 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.4966, allocations: 55.41 kB / 0.6944 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.4967, allocations: 117.8 kB / 0.6945 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.4967, allocations: 25.7 kB / 0.6946 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.4968, allocations: 104 kB / 0.6947 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.4969, allocations: 67.39 kB / 0.6947 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.497, allocations: 57.69 kB / 0.6948 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4971, allocations: 322.8 kB / 0.6951 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.4973, allocations: 63.97 kB / 0.6952 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.4975, allocations: 115.2 kB / 0.6953 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.4979, allocations: 175.3 kB / 0.6954 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.908e-05/0.4979, allocations: 4 kB / 0.6954 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005307/0.4984, allocations: 257.9 kB / 0.6957 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4984, allocations: 6.344 kB / 0.6957 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.4984, allocations: 4.094 kB / 0.6957 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.4986, allocations: 52.83 kB / 0.6957 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.4989, allocations: 59.89 kB / 0.6958 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004757/0.4994, allocations: 0.5601 MB / 0.6963 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.4996, allocations: 12.02 kB / 0.6964 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.4996, allocations: 20 kB / 0.6964 GB, free: 8.316 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.0001374/0.4998, allocations: 131.1 kB / 0.6965 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.4998, allocations: 23.94 kB / 0.6965 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007799/0.5006, allocations: 347.3 kB / 0.6969 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.5006, allocations: 0 / 0.6969 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5006, allocations: 0 / 0.6969 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5006, allocations: 0 / 0.6969 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.5017, allocations: 0.5753 MB / 0.6974 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5017, allocations: 0 / 0.6974 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.502, allocations: 68.05 kB / 0.6975 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-05/0.5021, allocations: 24.78 kB / 0.6975 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.5022, allocations: 15.92 kB / 0.6975 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.5033, allocations: 1.256 MB / 0.6987 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5033, allocations: 3.938 kB / 0.6987 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007806/0.5041, allocations: 437.4 kB / 0.6992 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.5041, allocations: 7.984 kB / 0.6992 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.5041, allocations: 7.984 kB / 0.6992 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.5043, allocations: 8 kB / 0.6992 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.5044, allocations: 27.91 kB / 0.6992 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.5045, allocations: 27.98 kB / 0.6992 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.595e-05/0.5045, allocations: 95.2 kB / 0.6993 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5045, allocations: 0 / 0.6993 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004609/0.505, allocations: 83.88 kB / 0.6994 GB, free: 4.984 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.001454/0.5064, allocations: 1.011 MB / 0.7004 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005577/0.507, allocations: 199.7 kB / 0.7006 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.507, allocations: 0 / 0.7006 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.5074, allocations: 218.5 kB / 0.7008 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.5079, allocations: 44.33 kB / 0.7008 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.5109, allocations: 2.081 MB / 0.7029 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.511, allocations: 94.03 kB / 0.703 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003261/0.5113, allocations: 81.83 kB / 0.703 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.5115, allocations: 64.47 kB / 0.7031 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of SimCode: time 6.62e-07/0.5115, allocations: 0 / 0.7031 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05559/0.5671, allocations: 7.999 MB / 0.7109 GB, free: 9.141 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.8, allocations: 8.312 kB / 0.7109 GB, free: 9.133 MB / 0.545 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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.950045613048133]