Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001378, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 79.55 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1227, allocations: 62.45 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4183/0.541, allocations: 152.3 MB / 0.6176 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.5425, allocations: 1.062 MB / 0.6186 GB, free: 9.809 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.5426, allocations: 0 / 0.6186 GB, free: 9.809 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.543, allocations: 31.83 kB / 0.6186 GB, free: 9.777 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008753/0.5439, allocations: 276.7 kB / 0.6189 GB, free: 9.512 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.5443, allocations: 123 kB / 0.619 GB, free: 9.395 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.5446, allocations: 179.2 kB / 0.6192 GB, free: 9.219 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.841e-05/0.5447, allocations: 7.562 kB / 0.6192 GB, free: 9.215 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.5449, allocations: 91.62 kB / 0.6193 GB, free: 9.125 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.5451, allocations: 59.75 kB / 0.6193 GB, free: 9.066 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.5451, allocations: 4 kB / 0.6193 GB, free: 9.062 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006342/0.5457, allocations: 271.7 kB / 0.6196 GB, free: 8.797 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.012e-05/0.5458, allocations: 19.92 kB / 0.6196 GB, free: 8.777 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.35e-05/0.5459, allocations: 43.84 kB / 0.6197 GB, free: 8.734 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.5464, allocations: 287.3 kB / 0.6199 GB, free: 8.453 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5465, allocations: 0 / 0.6199 GB, free: 8.453 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5465, allocations: 0 / 0.6199 GB, free: 8.453 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.5465, allocations: 0 / 0.6199 GB, free: 8.453 MB / 462.1 MB 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.0005992/0.5471, allocations: 407.9 kB / 0.6203 GB, free: 8.008 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5471, allocations: 15.97 kB / 0.6203 GB, free: 7.992 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.735e-05/0.5472, allocations: 38.75 kB / 0.6204 GB, free: 7.945 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/0.5495, allocations: 199.4 kB / 0.6206 GB, free: 7.754 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.5498, allocations: 203.8 kB / 0.6208 GB, free: 7.516 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.5498, allocations: 8 kB / 0.6208 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.5499, allocations: 7.984 kB / 0.6208 GB, free: 7.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/0.5505, allocations: 238.9 kB / 0.621 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5505, allocations: 4 kB / 0.621 GB, free: 7.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/0.5505, allocations: 0 / 0.621 GB, free: 7.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.5506, allocations: 7.938 kB / 0.621 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.551, allocations: 163.8 kB / 0.6212 GB, free: 7.082 MB / 462.1 MB 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.001166/0.5522, allocations: 0.5843 MB / 0.6217 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.5526, allocations: 134.5 kB / 0.6219 GB, free: 6.301 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.5527, allocations: 64.83 kB / 0.6219 GB, free: 6.234 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.5528, allocations: 7.938 kB / 0.6219 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.5528, allocations: 38.55 kB / 0.622 GB, free: 6.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 2.444e-06/0.5528, allocations: 4 kB / 0.622 GB, free: 6.176 MB / 462.1 MB 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.005434/0.5582, allocations: 1.307 MB / 0.6232 GB, free: 4.777 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.5583, allocations: 59.41 kB / 0.6233 GB, free: 4.707 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.5584, allocations: 105.8 kB / 0.6234 GB, free: 4.594 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.5584, allocations: 33.7 kB / 0.6234 GB, free: 4.555 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.5585, allocations: 91.95 kB / 0.6235 GB, free: 4.461 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.5585, allocations: 67.03 kB / 0.6236 GB, free: 4.395 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.54e-05/0.5586, allocations: 53.69 kB / 0.6236 GB, free: 4.336 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5588, allocations: 326.8 kB / 0.624 GB, free: 4.008 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.5589, allocations: 67.83 kB / 0.624 GB, free: 3.941 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.5591, allocations: 115.3 kB / 0.6241 GB, free: 3.816 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.5594, allocations: 175.3 kB / 0.6243 GB, free: 3.633 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5595, allocations: 0 / 0.6243 GB, free: 3.633 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004899/0.56, allocations: 268.1 kB / 0.6246 GB, free: 3.363 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.56, allocations: 8 kB / 0.6246 GB, free: 3.355 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.56, allocations: 0 / 0.6246 GB, free: 3.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.5602, allocations: 48.83 kB / 0.6246 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.5605, allocations: 55.95 kB / 0.6247 GB, free: 3.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003835/0.5609, allocations: 0.5641 MB / 0.6252 GB, free: 2.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.5611, allocations: 12.02 kB / 0.6252 GB, free: 2.648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.5611, allocations: 20 kB / 0.6252 GB, free: 2.629 MB / 462.1 MB 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.0001114/0.5613, allocations: 129.3 kB / 0.6254 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.5613, allocations: 16.33 kB / 0.6254 GB, free: 2.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007831/0.5621, allocations: 343.2 kB / 0.6257 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5621, allocations: 4 kB / 0.6257 GB, free: 2.137 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5621, allocations: 3.984 kB / 0.6257 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5621, allocations: 0 / 0.6257 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009156/0.5631, allocations: 0.6384 MB / 0.6263 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5631, allocations: 0 / 0.6263 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.5634, allocations: 59.89 kB / 0.6264 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.818e-05/0.5635, allocations: 20.84 kB / 0.6264 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.5635, allocations: 15.98 kB / 0.6264 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008398/0.5644, allocations: 1.364 MB / 0.6278 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5644, allocations: 4.156 kB / 0.6278 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006429/0.565, allocations: 432.9 kB / 0.6282 GB, free: 15.37 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.5651, allocations: 85.05 kB / 0.6283 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.5651, allocations: 12.06 kB / 0.6283 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.5654, allocations: 11.98 kB / 0.6283 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.5654, allocations: 19.98 kB / 0.6283 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.5655, allocations: 31.98 kB / 0.6283 GB, free: 15.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.631e-05/0.5655, allocations: 83.27 kB / 0.6284 GB, free: 15.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5655, allocations: 0 / 0.6284 GB, free: 15.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003787/0.5659, allocations: 83.94 kB / 0.6285 GB, free: 15.03 MB / 478.1 MB 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.00111/0.567, allocations: 1.015 MB / 0.6295 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004741/0.5675, allocations: 207.7 kB / 0.6297 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5675, allocations: 8.188 kB / 0.6297 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.5678, allocations: 222.5 kB / 0.6299 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.5683, allocations: 48.42 kB / 0.6299 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.5708, allocations: 2.064 MB / 0.632 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.571, allocations: 0.7085 MB / 0.6327 GB, free: 10.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004187/0.5714, allocations: 73.39 kB / 0.6327 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.5717, allocations: 71.41 kB / 0.6328 GB, free: 10.43 MB / 478.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5717, allocations: 0 / 0.6328 GB, free: 10.43 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.6011, allocations: 7.247 MB / 0.6399 GB, free: 3.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.59, allocations: 13.25 kB / 0.6399 GB, free: 3.262 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches