Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 100.4 kB / 16.27 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 188.6 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 223.1 MB, free: 12.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1994/0.1994, allocations: 43.53 MB / 314 MB, free: 0.5 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 68.72 kB / 382.8 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.09603, allocations: 57.79 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4014/0.4975, allocations: 179.6 MB / 0.6057 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006778/0.5043, allocations: 5.741 MB / 0.6113 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007227/0.505, allocations: 20.72 kB / 0.6114 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009635/0.506, allocations: 322.6 kB / 0.6117 GB, free: 5.703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004037/0.5101, allocations: 1.565 MB / 0.6132 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003297/0.5134, allocations: 1.25 MB / 0.6144 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001892/0.5153, allocations: 1.843 MB / 0.6162 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006172/0.5159, allocations: 468.1 kB / 0.6167 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/0.5185, allocations: 1.229 MB / 0.6179 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.5197, allocations: 0.7419 MB / 0.6186 GB, free: 1.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.5199, allocations: 70.56 kB / 0.6187 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.5216, allocations: 0.7328 MB / 0.6194 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.5218, allocations: 264.4 kB / 0.6196 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.5222, allocations: 397.2 kB / 0.62 GB, free: 408 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.5239, allocations: 1.411 MB / 0.6214 GB, free: 15.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5239, allocations: 0 / 0.6214 GB, free: 15.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.5239, allocations: 0 / 0.6214 GB, free: 15.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.524, allocations: 3.938 kB / 0.6214 GB, free: 15.49 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002112/0.5261, allocations: 1.135 MB / 0.6225 GB, free: 14.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.5261, allocations: 11.89 kB / 0.6225 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.5262, allocations: 99.75 kB / 0.6226 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008367/0.5271, allocations: 139.1 kB / 0.6227 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007061/0.5278, allocations: 0.5079 MB / 0.6232 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-05/0.5279, allocations: 100.4 kB / 0.6233 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.287e-05/0.528, allocations: 44 kB / 0.6234 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.5292, allocations: 0.8291 MB / 0.6242 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.5292, allocations: 0 / 0.6242 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.818e-05/0.5293, allocations: 27.97 kB / 0.6242 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/0.5293, allocations: 40.92 kB / 0.6242 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009908/0.5303, allocations: 0.6205 MB / 0.6249 GB, free: 11.87 MB / 446.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.004236/0.5346, allocations: 3.993 MB / 0.6288 GB, free: 7.621 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.5352, allocations: 341.8 kB / 0.6291 GB, free: 7.281 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.5355, allocations: 177.3 kB / 0.6293 GB, free: 7.105 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004032/0.5359, allocations: 369.4 kB / 0.6296 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.5359, allocations: 34.84 kB / 0.6296 GB, free: 6.648 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.5359, allocations: 0 / 0.6296 GB, free: 6.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005704/0.5416, allocations: 1.667 MB / 0.6313 GB, free: 4.906 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.5417, allocations: 140.4 kB / 0.6314 GB, free: 4.738 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.5424, allocations: 0.6094 MB / 0.632 GB, free: 4.121 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.5425, allocations: 33.7 kB / 0.632 GB, free: 4.082 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.5427, allocations: 362.9 kB / 0.6324 GB, free: 3.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.5428, allocations: 157.9 kB / 0.6325 GB, free: 3.566 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.5431, allocations: 154.5 kB / 0.6327 GB, free: 3.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5432, allocations: 378.8 kB / 0.633 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.5436, allocations: 193.9 kB / 0.6332 GB, free: 2.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.5441, allocations: 0.5125 MB / 0.6337 GB, free: 2.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009642/0.5451, allocations: 0.7565 MB / 0.6345 GB, free: 1.285 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5451, allocations: 4 kB / 0.6345 GB, free: 1.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001439/0.5465, allocations: 0.872 MB / 0.6353 GB, free: 408 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.5466, allocations: 13.39 kB / 0.6353 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.5466, allocations: 12 kB / 0.6353 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.548, allocations: 324.2 kB / 0.6356 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.5485, allocations: 119.8 kB / 0.6358 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.5495, allocations: 0.9269 MB / 0.6367 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.5501, allocations: 28 kB / 0.6367 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.5502, allocations: 72.05 kB / 0.6368 GB, free: 14.89 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003523/0.5505, allocations: 249.5 kB / 0.637 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.5507, allocations: 67.25 kB / 0.6371 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.5522, allocations: 0.6821 MB / 0.6377 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.5522, allocations: 4 kB / 0.6377 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5522, allocations: 0 / 0.6377 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5523, allocations: 0 / 0.6377 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.5547, allocations: 1.607 MB / 0.6393 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5547, allocations: 0 / 0.6393 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.5557, allocations: 211.8 kB / 0.6395 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.908e-05/0.5558, allocations: 20.84 kB / 0.6395 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.5559, allocations: 28.11 kB / 0.6395 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.5579, allocations: 2.877 MB / 0.6424 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5579, allocations: 0 / 0.6424 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.5592, allocations: 0.8071 MB / 0.6431 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.5596, allocations: 192.2 kB / 0.6433 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.5597, allocations: 12 kB / 0.6433 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.5602, allocations: 15.98 kB / 0.6434 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.97e-05/0.5603, allocations: 39.97 kB / 0.6434 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/0.5604, allocations: 51.91 kB / 0.6434 GB, free: 7.535 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005654/0.5609, allocations: 443 kB / 0.6439 GB, free: 7.105 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5609, allocations: 0 / 0.6439 GB, free: 7.105 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001028/0.562, allocations: 292 kB / 0.6441 GB, free: 6.82 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.002218/0.5642, allocations: 1.619 MB / 0.6457 GB, free: 5.164 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.5655, allocations: 0.6064 MB / 0.6463 GB, free: 4.559 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5655, allocations: 7.859 kB / 0.6463 GB, free: 4.551 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009625/0.5665, allocations: 410.2 kB / 0.6467 GB, free: 4.137 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.5682, allocations: 372.2 kB / 0.6471 GB, free: 3.785 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00868/0.5769, allocations: 6.536 MB / 0.6535 GB, free: 12.87 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.5774, allocations: 0.9261 MB / 0.6544 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001187/0.5786, allocations: 270 kB / 0.6546 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/0.5791, allocations: 271.3 kB / 0.6549 GB, free: 11.38 MB / 478.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5791, allocations: 0 / 0.6549 GB, free: 11.38 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06027/0.6394, allocations: 25.15 MB / 0.6794 GB, free: 2.211 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.98, allocations: 7.844 kB / 0.6794 GB, free: 2.203 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches