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.001695/0.001695, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.002063/0.002063, allocations: 212.7 kB / 21.46 MB, free: 1.605 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.427/1.427, allocations: 230.4 MB / 254.7 MB, free: 15 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.213/0.213, allocations: 46.92 MB / 357.7 MB, free: 10.15 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 79.81 kB / 0.4916 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1186, allocations: 66.04 MB / 0.5561 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4326/0.5513, allocations: 152.9 MB / 0.7055 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002261/0.5535, allocations: 1.607 MB / 0.707 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.5536, allocations: 0 / 0.707 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.554, allocations: 51.72 kB / 0.7071 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.5553, allocations: 414 kB / 0.7075 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.5559, allocations: 166.8 kB / 0.7076 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.5562, allocations: 187.2 kB / 0.7078 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.5562, allocations: 0 / 0.7078 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.5564, allocations: 83.69 kB / 0.7079 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.5566, allocations: 59.81 kB / 0.7079 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.5566, allocations: 4 kB / 0.7079 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.5578, allocations: 0.6236 MB / 0.7086 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.5579, allocations: 27.91 kB / 0.7086 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.821e-05/0.558, allocations: 55.72 kB / 0.7086 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.5588, allocations: 410.4 kB / 0.709 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5588, allocations: 4 kB / 0.709 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5588, allocations: 0 / 0.709 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.5588, allocations: 0 / 0.709 GB, free: 4.57 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.000737/0.5595, allocations: 438.8 kB / 0.7094 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.5596, allocations: 8.031 kB / 0.7095 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.437e-05/0.5596, allocations: 4.375 kB / 0.7095 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.569e-05/0.5597, allocations: 38.73 kB / 0.7095 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/0.5621, allocations: 201.1 kB / 0.7097 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.5624, allocations: 219.5 kB / 0.7099 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.5624, allocations: 4 kB / 0.7099 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.5624, allocations: 8 kB / 0.7099 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.5629, allocations: 201.5 kB / 0.7101 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5629, allocations: 0 / 0.7101 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.563, allocations: 11.94 kB / 0.7101 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.563, allocations: 7.984 kB / 0.7101 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005981/0.5636, allocations: 231.8 kB / 0.7103 GB, free: 3.125 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.001814/0.5654, allocations: 0.6644 MB / 0.711 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.5658, allocations: 183.5 kB / 0.7112 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.5661, allocations: 92.81 kB / 0.7113 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.5662, allocations: 93.09 kB / 0.7113 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.5663, allocations: 30.56 kB / 0.7114 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.5663, allocations: 0 / 0.7114 GB, free: 1.977 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.005911/0.5722, allocations: 1.55 MB / 0.7129 GB, free: 332 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.5722, allocations: 55.41 kB / 0.7129 GB, free: 264 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.5723, allocations: 121.8 kB / 0.7131 GB, free: 132 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.5724, allocations: 25.7 kB / 0.7131 GB, free: 100 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.543e-05/0.5725, allocations: 100.5 kB / 0.7132 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.5725, allocations: 71.42 kB / 0.7132 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.5726, allocations: 37.7 kB / 0.7133 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5728, allocations: 322.8 kB / 0.7136 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.573, allocations: 91.95 kB / 0.7137 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.5733, allocations: 123.4 kB / 0.7138 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.5738, allocations: 227 kB / 0.714 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5738, allocations: 0 / 0.714 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000672/0.5744, allocations: 281.5 kB / 0.7143 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.5745, allocations: 7.984 kB / 0.7143 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.5745, allocations: 4 kB / 0.7143 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.5746, allocations: 24.94 kB / 0.7143 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/0.5751, allocations: 55.91 kB / 0.7144 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004225/0.5755, allocations: 0.5367 MB / 0.7149 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.5758, allocations: 16.02 kB / 0.7149 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.5758, allocations: 4 kB / 0.7149 GB, free: 14.14 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.0001451/0.576, allocations: 125.9 kB / 0.715 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.576, allocations: 11.95 kB / 0.715 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007778/0.5768, allocations: 319 kB / 0.7153 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5768, allocations: 0 / 0.7153 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5768, allocations: 0 / 0.7153 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5768, allocations: 0 / 0.7153 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.578, allocations: 0.6797 MB / 0.716 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.578, allocations: 0 / 0.716 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/0.5785, allocations: 55.83 kB / 0.7161 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.331e-05/0.5785, allocations: 20.78 kB / 0.7161 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.5786, allocations: 8.75 kB / 0.7161 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.5796, allocations: 1.37 MB / 0.7174 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.5796, allocations: 4.031 kB / 0.7174 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008978/0.5805, allocations: 454.8 kB / 0.7179 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.5806, allocations: 93.06 kB / 0.718 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.5806, allocations: 12.06 kB / 0.718 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.581, allocations: 4 kB / 0.718 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.581, allocations: 19.97 kB / 0.718 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.581, allocations: 8 kB / 0.718 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.943e-05/0.5811, allocations: 87.58 kB / 0.7181 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5811, allocations: 0 / 0.7181 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005591/0.5817, allocations: 143.6 kB / 0.7182 GB, free: 10.47 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.001856/0.5835, allocations: 1.135 MB / 0.7193 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006337/0.5841, allocations: 227.7 kB / 0.7195 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5841, allocations: 0 / 0.7195 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.5846, allocations: 228.3 kB / 0.7198 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.585, allocations: 45.69 kB / 0.7198 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.5882, allocations: 2.148 MB / 0.7219 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.5885, allocations: 0.7085 MB / 0.7226 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002564/0.5887, allocations: 53.38 kB / 0.7226 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.5889, allocations: 39.41 kB / 0.7227 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.5889, allocations: 4 kB / 0.7227 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/0.621, allocations: 8.029 MB / 0.7305 GB, free: 13.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.5, allocations: 11.97 kB / 0.7305 GB, free: 13.78 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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.55958051001653]