Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001468/0.001468, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001531/0.001531, allocations: 214.3 kB / 23.75 MB, free: 4.672 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.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2222/0.2222, allocations: 46.92 MB / 360.8 MB, free: 4.199 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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 76.2 kB / 0.4962 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3091, allocations: 66.09 MB / 0.5607 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.18/0.4892, allocations: 152.9 MB / 0.7101 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.4913, allocations: 1.589 MB / 0.7116 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.4914, allocations: 3.938 kB / 0.7116 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.4917, allocations: 51.72 kB / 0.7117 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.4929, allocations: 415.9 kB / 0.7121 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006111/0.4935, allocations: 182.8 kB / 0.7123 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.4938, allocations: 183.2 kB / 0.7124 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.259e-05/0.4939, allocations: 11.92 kB / 0.7124 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.4941, allocations: 83.69 kB / 0.7125 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.4942, allocations: 59.75 kB / 0.7126 GB, free: 8.211 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.4943, allocations: 8 kB / 0.7126 GB, free: 8.203 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.4956, allocations: 0.6353 MB / 0.7132 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.4957, allocations: 39.83 kB / 0.7132 GB, free: 7.527 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.47e-05/0.4957, allocations: 47.8 kB / 0.7133 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007487/0.4965, allocations: 402.9 kB / 0.7137 GB, free: 7.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.4965, allocations: 4 kB / 0.7137 GB, free: 7.082 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4965, allocations: 0 / 0.7137 GB, free: 7.082 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.4965, allocations: 0 / 0.7137 GB, free: 7.082 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000645/0.4971, allocations: 361.7 kB / 0.714 GB, free: 6.699 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.4972, allocations: 12.03 kB / 0.714 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.4972, allocations: 38.75 kB / 0.7141 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.4994, allocations: 200.6 kB / 0.7143 GB, free: 6.445 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.4997, allocations: 165.7 kB / 0.7144 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.4997, allocations: 4 kB / 0.7144 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.4998, allocations: 15.98 kB / 0.7144 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.5002, allocations: 197.5 kB / 0.7146 GB, free: 6.039 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.5003, allocations: 4 kB / 0.7146 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.5003, allocations: 11.94 kB / 0.7146 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.5003, allocations: 0 / 0.7146 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005897/0.5009, allocations: 235.8 kB / 0.7149 GB, free: 5.793 MB / 0.545 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.00182/0.5027, allocations: 0.6018 MB / 0.7155 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.5032, allocations: 194.5 kB / 0.7156 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.5034, allocations: 88.81 kB / 0.7157 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.5035, allocations: 11.94 kB / 0.7157 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.5036, allocations: 38.55 kB / 0.7158 GB, free: 4.801 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.743e-06/0.5036, allocations: 4 kB / 0.7158 GB, free: 4.797 MB / 0.545 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.005766/0.5093, allocations: 1.387 MB / 0.7171 GB, free: 3.332 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.5094, allocations: 55.41 kB / 0.7172 GB, free: 3.266 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.5095, allocations: 109.8 kB / 0.7173 GB, free: 3.148 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.5095, allocations: 29.7 kB / 0.7173 GB, free: 3.113 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.5096, allocations: 100.3 kB / 0.7174 GB, free: 3.012 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.386e-05/0.5097, allocations: 75.41 kB / 0.7175 GB, free: 2.938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/0.5098, allocations: 37.7 kB / 0.7175 GB, free: 2.895 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.51, allocations: 326.8 kB / 0.7178 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.5102, allocations: 87.95 kB / 0.7179 GB, free: 2.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.5105, allocations: 123.4 kB / 0.718 GB, free: 2.348 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.511, allocations: 234.2 kB / 0.7183 GB, free: 2.109 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.511, allocations: 0 / 0.7183 GB, free: 2.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006716/0.5116, allocations: 282.2 kB / 0.7185 GB, free: 1.824 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.5116, allocations: 6.344 kB / 0.7185 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5116, allocations: 4.078 kB / 0.7185 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.5118, allocations: 28.84 kB / 0.7186 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.5123, allocations: 63.89 kB / 0.7186 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004323/0.5127, allocations: 0.525 MB / 0.7191 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.513, allocations: 12.02 kB / 0.7192 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.513, allocations: 16.09 kB / 0.7192 GB, free: 1.145 MB / 0.545 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.0001382/0.5131, allocations: 127.1 kB / 0.7193 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.5132, allocations: 11.94 kB / 0.7193 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000759/0.514, allocations: 307 kB / 0.7196 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.514, allocations: 4 kB / 0.7196 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.514, allocations: 3.938 kB / 0.7196 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.514, allocations: 7.922 kB / 0.7196 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.5152, allocations: 0.6436 MB / 0.7202 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.5152, allocations: 4 kB / 0.7202 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.5157, allocations: 51.89 kB / 0.7203 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.137e-05/0.5157, allocations: 20.84 kB / 0.7203 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.5158, allocations: 4 kB / 0.7203 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.5169, allocations: 1.271 MB / 0.7216 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5169, allocations: 4.156 kB / 0.7216 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008846/0.5177, allocations: 446.7 kB / 0.722 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.5178, allocations: 16 kB / 0.722 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.5178, allocations: 4 kB / 0.722 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.5181, allocations: 8 kB / 0.722 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.5182, allocations: 15.97 kB / 0.722 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.5182, allocations: 15.98 kB / 0.722 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.443e-05/0.5183, allocations: 87.27 kB / 0.7221 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.5183, allocations: 0 / 0.7221 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005314/0.5188, allocations: 135.6 kB / 0.7223 GB, free: 13.75 MB / 0.5606 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 (19): * Single equations (assignments): 18 * 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.001731/0.5205, allocations: 1.15 MB / 0.7234 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006532/0.5212, allocations: 231.1 kB / 0.7236 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5212, allocations: 0 / 0.7236 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.5216, allocations: 236.6 kB / 0.7238 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.5221, allocations: 56.86 kB / 0.7239 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.5253, allocations: 2.121 MB / 0.7259 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.5256, allocations: 0.7125 MB / 0.7266 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002898/0.5259, allocations: 49.39 kB / 0.7267 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.5261, allocations: 43.42 kB / 0.7267 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/0.5261, allocations: 0 / 0.7267 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/0.5654, allocations: 8.178 MB / 0.7347 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.38, allocations: 4.312 kB / 0.7347 GB, free: 0.8906 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_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_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.654558034002548]