Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 123 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2542/0.2542, allocations: 46.91 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 71.89 kB / 0.4909 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1225, allocations: 65.99 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4535/0.5759, allocations: 152.7 MB / 0.7045 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.5774, allocations: 1.06 MB / 0.7055 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.5774, allocations: 4 kB / 0.7055 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.5777, allocations: 39.75 kB / 0.7056 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006796/0.5784, allocations: 262.6 kB / 0.7058 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.5787, allocations: 119.6 kB / 0.7059 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.579, allocations: 179.2 kB / 0.7061 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.579, allocations: 17.06 kB / 0.7061 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.5792, allocations: 91.67 kB / 0.7062 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.5793, allocations: 59.7 kB / 0.7063 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.5793, allocations: 4 kB / 0.7063 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.5798, allocations: 267.7 kB / 0.7065 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.5799, allocations: 27.89 kB / 0.7065 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.58, allocations: 43.88 kB / 0.7066 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.5804, allocations: 294.7 kB / 0.7069 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5804, allocations: 0 / 0.7069 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5804, allocations: 0 / 0.7069 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.5804, allocations: 0 / 0.7069 GB, free: 6.258 MB / 0.5137 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.0005536/0.581, allocations: 407 kB / 0.7073 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.581, allocations: 10.28 kB / 0.7073 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.5811, allocations: 42.73 kB / 0.7073 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/0.5834, allocations: 201.1 kB / 0.7075 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.5837, allocations: 207.9 kB / 0.7077 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.5837, allocations: 7.938 kB / 0.7077 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.5838, allocations: 8 kB / 0.7077 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.5843, allocations: 220.1 kB / 0.7079 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.5843, allocations: 0 / 0.7079 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.5843, allocations: 8 kB / 0.7079 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5843, allocations: 0 / 0.7079 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004778/0.5848, allocations: 171.8 kB / 0.7081 GB, free: 4.895 MB / 0.5137 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.0011/0.5859, allocations: 0.581 MB / 0.7087 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.5863, allocations: 138.4 kB / 0.7088 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.5864, allocations: 70.34 kB / 0.7089 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.5865, allocations: 3.984 kB / 0.7089 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.5865, allocations: 38.56 kB / 0.7089 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.5865, allocations: 4 kB / 0.7089 GB, free: 3.988 MB / 0.5137 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.005625/0.5921, allocations: 1.304 MB / 0.7102 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.5922, allocations: 53.28 kB / 0.7102 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.5923, allocations: 113.8 kB / 0.7103 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.5923, allocations: 29.7 kB / 0.7104 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.5924, allocations: 99.97 kB / 0.7105 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-05/0.5925, allocations: 71.42 kB / 0.7105 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.5926, allocations: 57.64 kB / 0.7106 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5927, allocations: 318.8 kB / 0.7109 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.5929, allocations: 71.97 kB / 0.711 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.5931, allocations: 111.1 kB / 0.7111 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.5935, allocations: 179.4 kB / 0.7112 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.5935, allocations: 0 / 0.7112 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005462/0.594, allocations: 265.2 kB / 0.7115 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.594, allocations: 4 kB / 0.7115 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.594, allocations: 0 / 0.7115 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001949/0.5942, allocations: 52.81 kB / 0.7115 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.5946, allocations: 51.91 kB / 0.7116 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004831/0.595, allocations: 0.572 MB / 0.7121 GB, free: 488 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.5952, allocations: 4 kB / 0.7122 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/0.5953, allocations: 24 kB / 0.7122 GB, free: 460 kB / 0.5137 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.0001423/0.5954, allocations: 128 kB / 0.7123 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.5955, allocations: 15.89 kB / 0.7123 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008379/0.5963, allocations: 347.1 kB / 0.7126 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5963, allocations: 4 kB / 0.7126 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5963, allocations: 4 kB / 0.7127 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5963, allocations: 3.984 kB / 0.7127 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.5974, allocations: 0.6263 MB / 0.7133 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5974, allocations: 0 / 0.7133 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.5978, allocations: 68.05 kB / 0.7133 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-05/0.5978, allocations: 16.84 kB / 0.7133 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.5979, allocations: 15.98 kB / 0.7134 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.599, allocations: 1.372 MB / 0.7147 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5991, allocations: 0 / 0.7147 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007753/0.5998, allocations: 442.8 kB / 0.7151 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.11e-05/0.5999, allocations: 89.06 kB / 0.7152 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.5999, allocations: 0 / 0.7152 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.6002, allocations: 11.98 kB / 0.7152 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.6002, allocations: 27.91 kB / 0.7152 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.6003, allocations: 28.06 kB / 0.7153 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.055e-05/0.6004, allocations: 91.27 kB / 0.7154 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6004, allocations: 0 / 0.7154 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000442/0.6008, allocations: 75.94 kB / 0.7154 GB, free: 12.85 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.001392/0.6022, allocations: 1.013 MB / 0.7164 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005502/0.6027, allocations: 199.7 kB / 0.7166 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6027, allocations: 0 / 0.7166 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.6031, allocations: 211 kB / 0.7168 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.6036, allocations: 59.72 kB / 0.7169 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.6065, allocations: 2.079 MB / 0.7189 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.6069, allocations: 0.7085 MB / 0.7196 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003146/0.6072, allocations: 77.39 kB / 0.7197 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.6074, allocations: 71.39 kB / 0.7197 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/0.6074, allocations: 0 / 0.7197 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.6411, allocations: 7.343 MB / 0.7269 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.52, allocations: 2.031 kB / 0.7269 GB, free: 1.008 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 15.664619023998966]