Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001705/0.001705, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.002147/0.002147, allocations: 225.4 kB / 23.01 MB, free: 5.039 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.47/1.47, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2178/0.2178, allocations: 44.23 MB / 330.3 MB, free: 9.609 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_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.002182/0.002182, allocations: 71.89 kB / 467.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1091, allocations: 61.04 MB / 0.5161 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3876/0.4968, allocations: 151.1 MB / 0.6637 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.4981, allocations: 0.9907 MB / 0.6646 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.4982, allocations: 3.938 kB / 0.6646 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.4985, allocations: 23.83 kB / 0.6647 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006706/0.4991, allocations: 246.4 kB / 0.6649 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.4995, allocations: 119.7 kB / 0.665 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.4997, allocations: 171.2 kB / 0.6652 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.4998, allocations: 7.969 kB / 0.6652 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.5, allocations: 87.69 kB / 0.6653 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.5001, allocations: 55.77 kB / 0.6653 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.5001, allocations: 4 kB / 0.6653 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005272/0.5007, allocations: 267.7 kB / 0.6656 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.5007, allocations: 19.92 kB / 0.6656 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.5008, allocations: 55.78 kB / 0.6657 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004556/0.5013, allocations: 278 kB / 0.6659 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5013, allocations: 0 / 0.6659 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5013, allocations: 4 kB / 0.6659 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.5013, allocations: 0 / 0.6659 GB, free: 10.4 MB / 0.4981 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.0005269/0.5018, allocations: 329.9 kB / 0.6662 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5018, allocations: 8.031 kB / 0.6662 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.5019, allocations: 38.75 kB / 0.6663 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.5039, allocations: 195.8 kB / 0.6665 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.5041, allocations: 154.3 kB / 0.6666 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.5042, allocations: 11.94 kB / 0.6666 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.5042, allocations: 8 kB / 0.6666 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/0.5048, allocations: 224 kB / 0.6668 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5048, allocations: 0 / 0.6668 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.5048, allocations: 8 kB / 0.6669 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.5048, allocations: 0 / 0.6669 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.5052, allocations: 167.9 kB / 0.667 GB, free: 9.207 MB / 0.4981 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.001055/0.5063, allocations: 0.5483 MB / 0.6676 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.5066, allocations: 130.5 kB / 0.6677 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.5068, allocations: 69.7 kB / 0.6677 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.5068, allocations: 4 kB / 0.6677 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.5068, allocations: 34.56 kB / 0.6678 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.173e-06/0.5068, allocations: 3.938 kB / 0.6678 GB, free: 8.352 MB / 0.4981 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.005099/0.5119, allocations: 1.161 MB / 0.6689 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.512, allocations: 51.41 kB / 0.669 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.67e-05/0.5121, allocations: 121.8 kB / 0.6691 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.5121, allocations: 29.7 kB / 0.6691 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.5122, allocations: 92.03 kB / 0.6692 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.5122, allocations: 75.38 kB / 0.6693 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.677e-05/0.5123, allocations: 57.62 kB / 0.6693 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5125, allocations: 314.8 kB / 0.6696 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.5126, allocations: 75.89 kB / 0.6697 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.5128, allocations: 103.4 kB / 0.6698 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.5131, allocations: 183.3 kB / 0.67 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5131, allocations: 0 / 0.67 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005003/0.5136, allocations: 266.2 kB / 0.6702 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5137, allocations: 4 kB / 0.6702 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5137, allocations: 0 / 0.6702 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/0.5139, allocations: 53.83 kB / 0.6703 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.5142, allocations: 47.97 kB / 0.6703 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004805/0.5147, allocations: 0.5797 MB / 0.6709 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.5148, allocations: 0 / 0.6709 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/0.5149, allocations: 31.98 kB / 0.6709 GB, free: 4.977 MB / 0.4981 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.0001328/0.515, allocations: 117.8 kB / 0.671 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.5151, allocations: 7.953 kB / 0.671 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007709/0.5158, allocations: 351.5 kB / 0.6714 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.5158, allocations: 3.938 kB / 0.6714 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.5158, allocations: 4 kB / 0.6714 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.5159, allocations: 0 / 0.6714 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.5169, allocations: 0.5948 MB / 0.672 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.5169, allocations: 4.094 kB / 0.672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.5173, allocations: 67.89 kB / 0.672 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.204e-05/0.5174, allocations: 16.84 kB / 0.6721 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.5174, allocations: 12 kB / 0.6721 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.5184, allocations: 1.259 MB / 0.6733 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5184, allocations: 4.031 kB / 0.6733 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/0.5191, allocations: 438.6 kB / 0.6737 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.5192, allocations: 15.97 kB / 0.6737 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.5192, allocations: 4 kB / 0.6737 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.5194, allocations: 4 kB / 0.6737 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.5195, allocations: 28.03 kB / 0.6738 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.5195, allocations: 35.36 kB / 0.6738 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.201e-05/0.5196, allocations: 87.27 kB / 0.6739 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5196, allocations: 4 kB / 0.6739 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004002/0.52, allocations: 79.88 kB / 0.674 GB, free: 1.648 MB / 0.4981 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.001214/0.5212, allocations: 1.013 MB / 0.6749 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004973/0.5217, allocations: 195.9 kB / 0.6751 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5217, allocations: 4 kB / 0.6751 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.522, allocations: 222.8 kB / 0.6754 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.5225, allocations: 49.08 kB / 0.6754 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.5252, allocations: 2.081 MB / 0.6774 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.5256, allocations: 0.7047 MB / 0.6781 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002966/0.5259, allocations: 77.39 kB / 0.6782 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.5261, allocations: 71.41 kB / 0.6783 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.5261, allocations: 0 / 0.6783 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03833/0.5644, allocations: 7.52 MB / 0.6856 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.18, allocations: 7.938 kB / 0.6856 GB, free: 5.516 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.21294487600244]