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.001379/0.001379, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.00141/0.00141, allocations: 218.1 kB / 23 MB, free: 5.004 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.44/1.44, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.2144/0.2144, allocations: 44.24 MB / 330.3 MB, free: 9.531 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.002145/0.002145, allocations: 71.91 kB / 467.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1126, allocations: 61.03 MB / 0.5161 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3846/0.4973, allocations: 151.1 MB / 0.6637 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.4988, allocations: 0.9946 MB / 0.6646 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.958e-05/0.4989, allocations: 0 / 0.6646 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.4992, allocations: 35.75 kB / 0.6647 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007519/0.4999, allocations: 242.5 kB / 0.6649 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.5003, allocations: 120.1 kB / 0.665 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.5006, allocations: 167.3 kB / 0.6652 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.5007, allocations: 7.922 kB / 0.6652 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.5009, allocations: 91.62 kB / 0.6653 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.5011, allocations: 51.83 kB / 0.6653 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.5011, allocations: 4 kB / 0.6653 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006379/0.5017, allocations: 267.7 kB / 0.6656 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.5018, allocations: 19.86 kB / 0.6656 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.478e-05/0.5019, allocations: 56.34 kB / 0.6657 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.5024, allocations: 281.4 kB / 0.6659 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5024, allocations: 0 / 0.6659 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.828e-06/0.5024, allocations: 4 kB / 0.6659 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.5025, allocations: 0 / 0.6659 GB, free: 10.43 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.0005456/0.503, allocations: 325.9 kB / 0.6662 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.503, allocations: 14.84 kB / 0.6662 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.923e-05/0.5031, allocations: 45.86 kB / 0.6663 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.5051, allocations: 193.1 kB / 0.6665 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.5055, allocations: 154.3 kB / 0.6666 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.5055, allocations: 11.94 kB / 0.6666 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.5055, allocations: 8 kB / 0.6666 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.5061, allocations: 220.1 kB / 0.6669 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.5061, allocations: 0 / 0.6669 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.5061, allocations: 4 kB / 0.6669 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.5061, allocations: 0 / 0.6669 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.5065, allocations: 171.8 kB / 0.667 GB, free: 9.23 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.001089/0.5076, allocations: 0.5483 MB / 0.6676 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.5079, allocations: 130.5 kB / 0.6677 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.5081, allocations: 68.83 kB / 0.6677 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.5081, allocations: 4 kB / 0.6677 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.5081, allocations: 34.56 kB / 0.6678 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.5081, allocations: 0 / 0.6678 GB, free: 8.379 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.005215/0.5134, allocations: 1.159 MB / 0.6689 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.5134, allocations: 51.41 kB / 0.669 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.5135, allocations: 125.8 kB / 0.6691 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.5135, allocations: 25.7 kB / 0.6691 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.5136, allocations: 100 kB / 0.6692 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.5137, allocations: 71.33 kB / 0.6693 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.5138, allocations: 57.69 kB / 0.6693 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5139, allocations: 322.8 kB / 0.6696 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.5141, allocations: 63.97 kB / 0.6697 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.5142, allocations: 107.4 kB / 0.6698 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.5146, allocations: 187.3 kB / 0.67 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5146, allocations: 3.938 kB / 0.67 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000493/0.5151, allocations: 254.2 kB / 0.6702 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5151, allocations: 8 kB / 0.6702 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.5151, allocations: 3.984 kB / 0.6702 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.5153, allocations: 52.83 kB / 0.6703 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.5156, allocations: 51.91 kB / 0.6703 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004673/0.5161, allocations: 0.5719 MB / 0.6709 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.5162, allocations: 7.938 kB / 0.6709 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.5163, allocations: 31.98 kB / 0.6709 GB, free: 4.996 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.0001342/0.5164, allocations: 117.8 kB / 0.671 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.5165, allocations: 7.953 kB / 0.6711 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007736/0.5172, allocations: 347.4 kB / 0.6714 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5173, allocations: 3.938 kB / 0.6714 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5173, allocations: 0 / 0.6714 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5173, allocations: 7.984 kB / 0.6714 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.5183, allocations: 0.5909 MB / 0.672 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5183, allocations: 4.094 kB / 0.672 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.5186, allocations: 55.95 kB / 0.672 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.362e-05/0.5187, allocations: 28.78 kB / 0.6721 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.5187, allocations: 15.98 kB / 0.6721 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009939/0.5197, allocations: 1.259 MB / 0.6733 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.5197, allocations: 4.031 kB / 0.6733 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006805/0.5204, allocations: 434.6 kB / 0.6737 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.5204, allocations: 11.92 kB / 0.6737 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.5205, allocations: 8 kB / 0.6737 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.5207, allocations: 7.984 kB / 0.6737 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.5207, allocations: 24.03 kB / 0.6738 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.5208, allocations: 31.98 kB / 0.6738 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.5208, allocations: 83.28 kB / 0.6739 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5208, allocations: 0 / 0.6739 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004072/0.5212, allocations: 83.86 kB / 0.674 GB, free: 1.676 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.001235/0.5225, allocations: 1.017 MB / 0.675 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004784/0.523, allocations: 195.8 kB / 0.6751 GB, free: 436 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.523, allocations: 4 kB / 0.6751 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.5233, allocations: 222.9 kB / 0.6754 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.5238, allocations: 49.3 kB / 0.6754 GB, free: 148 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.5266, allocations: 2.085 MB / 0.6774 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.527, allocations: 0.7047 MB / 0.6781 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002978/0.5273, allocations: 77.39 kB / 0.6782 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.5275, allocations: 71.39 kB / 0.6783 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of SimCode: time 7.22e-07/0.5275, allocations: 0 / 0.6783 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03933/0.5668, allocations: 7.516 MB / 0.6856 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.3, allocations: 7.938 kB / 0.6856 GB, free: 5.539 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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.20135664800182]