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.001977/0.001977, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002389/0.002389, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.463/1.463, allocations: 230.4 MB / 254 MB, free: 15.01 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.225/0.225, allocations: 46.92 MB / 357 MB, free: 10.28 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.002261/0.002261, allocations: 87.86 kB / 0.491 GB, free: 7.789 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1354, allocations: 66.04 MB / 0.5555 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4794/0.6148, allocations: 152.9 MB / 0.7048 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.6169, allocations: 1.601 MB / 0.7063 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.617, allocations: 4 kB / 0.7063 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.6174, allocations: 51.66 kB / 0.7064 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.6186, allocations: 413.5 kB / 0.7068 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.6192, allocations: 173.4 kB / 0.7069 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.6195, allocations: 179.3 kB / 0.7071 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.6196, allocations: 4 kB / 0.7071 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.6197, allocations: 83.62 kB / 0.7072 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.6199, allocations: 67.73 kB / 0.7073 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.6199, allocations: 8 kB / 0.7073 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.6212, allocations: 0.6197 MB / 0.7079 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.055e-05/0.6212, allocations: 27.91 kB / 0.7079 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.507e-05/0.6213, allocations: 51.78 kB / 0.7079 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007629/0.6221, allocations: 402.3 kB / 0.7083 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.6221, allocations: 4 kB / 0.7083 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6221, allocations: 0 / 0.7083 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.6221, allocations: 0 / 0.7083 GB, free: 4.703 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006922/0.6228, allocations: 438.9 kB / 0.7087 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.6228, allocations: 8.031 kB / 0.7088 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.773e-05/0.6229, allocations: 42.73 kB / 0.7088 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.6253, allocations: 201.1 kB / 0.709 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.6256, allocations: 215.9 kB / 0.7092 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.6257, allocations: 8 kB / 0.7092 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.6257, allocations: 11.94 kB / 0.7092 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.6262, allocations: 197.5 kB / 0.7094 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6262, allocations: 7.938 kB / 0.7094 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.6262, allocations: 4 kB / 0.7094 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.6263, allocations: 7.938 kB / 0.7094 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006316/0.6269, allocations: 231.9 kB / 0.7096 GB, free: 3.262 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.002035/0.6289, allocations: 0.6644 MB / 0.7103 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.6295, allocations: 187.7 kB / 0.7105 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.6297, allocations: 92.81 kB / 0.7106 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/0.6299, allocations: 89.09 kB / 0.7106 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.63, allocations: 38.5 kB / 0.7107 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 2.314e-06/0.63, allocations: 0 / 0.7107 GB, free: 2.105 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.006398/0.6364, allocations: 1.543 MB / 0.7122 GB, free: 468 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.6364, allocations: 59.41 kB / 0.7122 GB, free: 396 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.6365, allocations: 113.8 kB / 0.7123 GB, free: 272 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.6366, allocations: 29.7 kB / 0.7124 GB, free: 236 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.551e-05/0.6367, allocations: 100.3 kB / 0.7125 GB, free: 132 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.351e-05/0.6368, allocations: 67.42 kB / 0.7125 GB, free: 64 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.6369, allocations: 45.7 kB / 0.7126 GB, free: 12 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.6371, allocations: 322.8 kB / 0.7129 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.6373, allocations: 91.89 kB / 0.713 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.6376, allocations: 127.4 kB / 0.7131 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.6381, allocations: 230.4 kB / 0.7133 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6381, allocations: 0 / 0.7133 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006686/0.6388, allocations: 282.2 kB / 0.7136 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6388, allocations: 4 kB / 0.7136 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.6388, allocations: 0 / 0.7136 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00015/0.639, allocations: 24.84 kB / 0.7136 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.6395, allocations: 56.05 kB / 0.7137 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004171/0.6399, allocations: 0.5367 MB / 0.7142 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.6402, allocations: 11.97 kB / 0.7142 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.6402, allocations: 11.98 kB / 0.7142 GB, free: 14.27 MB / 0.5294 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.0001445/0.6404, allocations: 125.9 kB / 0.7143 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.6404, allocations: 11.95 kB / 0.7143 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007884/0.6412, allocations: 307.1 kB / 0.7146 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.6412, allocations: 11.94 kB / 0.7147 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6412, allocations: 1.5 kB / 0.7147 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6412, allocations: 0 / 0.7147 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.6424, allocations: 0.6719 MB / 0.7153 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6424, allocations: 8.094 kB / 0.7153 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.6429, allocations: 59.83 kB / 0.7154 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.719e-05/0.643, allocations: 16.84 kB / 0.7154 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.643, allocations: 8 kB / 0.7154 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.6441, allocations: 1.364 MB / 0.7167 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6441, allocations: 0 / 0.7167 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009225/0.6451, allocations: 462.2 kB / 0.7172 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.6451, allocations: 85.09 kB / 0.7173 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.6452, allocations: 11.98 kB / 0.7173 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.6455, allocations: 8.062 kB / 0.7173 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.6455, allocations: 19.97 kB / 0.7173 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.6456, allocations: 8 kB / 0.7173 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.902e-05/0.6456, allocations: 91.2 kB / 0.7174 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6456, allocations: 0 / 0.7174 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005747/0.6462, allocations: 135.7 kB / 0.7175 GB, free: 10.61 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 (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.00181/0.648, allocations: 1.144 MB / 0.7186 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006398/0.6487, allocations: 224 kB / 0.7188 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6487, allocations: 0 / 0.7188 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004303/0.6491, allocations: 226.5 kB / 0.7191 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.6495, allocations: 53.5 kB / 0.7191 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.6528, allocations: 2.138 MB / 0.7212 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.6531, allocations: 0.7202 MB / 0.7219 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002743/0.6534, allocations: 53.33 kB / 0.722 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.6535, allocations: 39.41 kB / 0.722 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.6535, allocations: 0 / 0.722 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.6893, allocations: 7.987 MB / 0.7298 GB, free: 13.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.83, allocations: 11.92 kB / 0.7298 GB, free: 13.93 MB / 0.545 GB " [Timeout remaining time 647] (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: 15.997232830966823]