Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001749/0.001749, allocations: 116.9 kB / 18.45 MB, free: 4.609 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.002072/0.002072, allocations: 216.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 207.6 MB / 231.8 MB, free: 4.059 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 48.56 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09497, allocations: 49.13 MB / 391.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3757/0.4707, allocations: 151 MB / 0.5297 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.4721, allocations: 0.9877 MB / 0.5307 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.4721, allocations: 2.094 kB / 0.5307 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.4724, allocations: 33.03 kB / 0.5307 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006425/0.473, allocations: 242.6 kB / 0.5309 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.4734, allocations: 126.1 kB / 0.5311 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.4736, allocations: 169 kB / 0.5312 GB, free: 9.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.4737, allocations: 8.875 kB / 0.5312 GB, free: 9.844 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.4739, allocations: 88.03 kB / 0.5313 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.4739, allocations: 47.05 kB / 0.5314 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.474, allocations: 4.812 kB / 0.5314 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004838/0.4744, allocations: 268.9 kB / 0.5316 GB, free: 9.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.4745, allocations: 19.92 kB / 0.5316 GB, free: 9.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.807e-05/0.4746, allocations: 51.73 kB / 0.5317 GB, free: 9.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.475, allocations: 281.5 kB / 0.532 GB, free: 9.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.475, allocations: 4 kB / 0.532 GB, free: 9.262 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.475, allocations: 0 / 0.532 GB, free: 9.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.475, allocations: 0 / 0.532 GB, free: 9.262 MB / 414.1 MB 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.0005835/0.4756, allocations: 403.5 kB / 0.5324 GB, free: 8.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4757, allocations: 16.02 kB / 0.5324 GB, free: 8.805 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.4757, allocations: 43.88 kB / 0.5324 GB, free: 8.754 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.4778, allocations: 188.6 kB / 0.5326 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.4782, allocations: 212.2 kB / 0.5328 GB, free: 8.324 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.4782, allocations: 11.94 kB / 0.5328 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.4782, allocations: 4 kB / 0.5328 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.4788, allocations: 232 kB / 0.533 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.4788, allocations: 0 / 0.533 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.4788, allocations: 4 kB / 0.533 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.4788, allocations: 0 / 0.533 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.4793, allocations: 171.8 kB / 0.5332 GB, free: 7.895 MB / 414.1 MB 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.001151/0.4805, allocations: 0.5878 MB / 0.5338 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.4808, allocations: 133.5 kB / 0.5339 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.481, allocations: 65.08 kB / 0.534 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.481, allocations: 4 kB / 0.534 GB, free: 7.043 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.481, allocations: 42.56 kB / 0.534 GB, free: 6.992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.481, allocations: 0 / 0.534 GB, free: 6.992 MB / 414.1 MB 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.005672/0.4867, allocations: 1.294 MB / 0.5353 GB, free: 5.609 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.4868, allocations: 62.41 kB / 0.5353 GB, free: 5.539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.4869, allocations: 105.8 kB / 0.5354 GB, free: 5.426 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.4869, allocations: 33.7 kB / 0.5355 GB, free: 5.387 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.487, allocations: 99.97 kB / 0.5356 GB, free: 5.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.711e-05/0.487, allocations: 67.42 kB / 0.5356 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.4872, allocations: 53.69 kB / 0.5357 GB, free: 5.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4873, allocations: 322.8 kB / 0.536 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.4875, allocations: 71.91 kB / 0.536 GB, free: 4.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.4877, allocations: 107.2 kB / 0.5361 GB, free: 4.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.4881, allocations: 183.3 kB / 0.5363 GB, free: 4.457 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4881, allocations: 3.938 kB / 0.5363 GB, free: 4.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005556/0.4886, allocations: 266.2 kB / 0.5366 GB, free: 4.184 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4886, allocations: 4 kB / 0.5366 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4886, allocations: 4 kB / 0.5366 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.4888, allocations: 48.83 kB / 0.5366 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.4892, allocations: 59.89 kB / 0.5367 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004936/0.4897, allocations: 0.5602 MB / 0.5372 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.4899, allocations: 12.02 kB / 0.5373 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.4899, allocations: 20 kB / 0.5373 GB, free: 3.449 MB / 414.1 MB 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.0001521/0.4901, allocations: 125.8 kB / 0.5374 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.4901, allocations: 7.953 kB / 0.5374 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008134/0.4909, allocations: 349.9 kB / 0.5377 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.4909, allocations: 7.938 kB / 0.5377 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4909, allocations: 0 / 0.5377 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4909, allocations: 0 / 0.5377 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.4921, allocations: 0.6231 MB / 0.5383 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4921, allocations: 4 kB / 0.5384 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.4924, allocations: 59.95 kB / 0.5384 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.4925, allocations: 24.78 kB / 0.5384 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.4926, allocations: 11.98 kB / 0.5384 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.4937, allocations: 1.361 MB / 0.5398 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.4937, allocations: 7.969 kB / 0.5398 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007443/0.4944, allocations: 434.7 kB / 0.5402 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.4945, allocations: 89.05 kB / 0.5403 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.4945, allocations: 8 kB / 0.5403 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.4947, allocations: 0 / 0.5403 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.4948, allocations: 35.97 kB / 0.5403 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.4949, allocations: 23.98 kB / 0.5403 GB, free: 32 kB / 414.1 MB Notification: Performance of sorting global known variables: time 7.298e-05/0.4949, allocations: 91.27 kB / 0.5404 GB, free: 15.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4949, allocations: 0 / 0.5404 GB, free: 15.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004528/0.4954, allocations: 83.88 kB / 0.5405 GB, free: 15.86 MB / 430.1 MB 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.001405/0.4968, allocations: 1.012 MB / 0.5415 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005577/0.4973, allocations: 208.3 kB / 0.5417 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4973, allocations: 0 / 0.5417 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.4977, allocations: 215 kB / 0.5419 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.4982, allocations: 52.39 kB / 0.542 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.5011, allocations: 2.074 MB / 0.544 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.5014, allocations: 0.7046 MB / 0.5447 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003064/0.5017, allocations: 73.39 kB / 0.5447 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.5019, allocations: 67.41 kB / 0.5448 GB, free: 11.27 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.5019, allocations: 0 / 0.5448 GB, free: 11.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03742/0.5394, allocations: 7.34 MB / 0.552 GB, free: 3.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.6, allocations: 7.922 kB / 0.552 GB, free: 3.867 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.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 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.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.174730849990738]