Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.001301/0.001301, allocations: 120.9 kB / 18.49 MB, free: 4.555 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.001338/0.001338, 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.426/1.426, allocations: 230.4 MB / 254.7 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.2243/0.2243, allocations: 46.91 MB / 357.7 MB, free: 10.25 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.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 79.88 kB / 0.4917 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.135, allocations: 66.04 MB / 0.5562 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4639/0.5989, allocations: 177.8 MB / 0.7298 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007873/0.6068, allocations: 5.352 MB / 0.735 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005761/0.6074, allocations: 31.69 kB / 0.7351 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009626/0.6084, allocations: 318 kB / 0.7354 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.6116, allocations: 1.366 MB / 0.7367 GB, free: 8.098 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.6142, allocations: 1.054 MB / 0.7377 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00226/0.6164, allocations: 1.852 MB / 0.7395 GB, free: 5.191 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006149/0.6171, allocations: 409.4 kB / 0.7399 GB, free: 4.789 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.6192, allocations: 1.117 MB / 0.741 GB, free: 3.668 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.6205, allocations: 0.7861 MB / 0.7418 GB, free: 2.879 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.6206, allocations: 64 kB / 0.7419 GB, free: 2.816 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.622, allocations: 0.6359 MB / 0.7425 GB, free: 2.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003161/0.6223, allocations: 271.2 kB / 0.7427 GB, free: 1.914 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.6227, allocations: 398.1 kB / 0.7431 GB, free: 1.523 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.6246, allocations: 1.308 MB / 0.7444 GB, free: 216 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6246, allocations: 4 kB / 0.7444 GB, free: 212 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6246, allocations: 0 / 0.7444 GB, free: 212 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.6247, allocations: 0 / 0.7444 GB, free: 212 kB / 0.545 GB 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.002362/0.627, allocations: 1.121 MB / 0.7455 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.6271, allocations: 8.031 kB / 0.7455 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.14e-05/0.6271, allocations: 13 kB / 0.7455 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.6272, allocations: 99.39 kB / 0.7456 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000804/0.628, allocations: 139.4 kB / 0.7457 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009417/0.629, allocations: 0.5357 MB / 0.7463 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.6291, allocations: 104.4 kB / 0.7464 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.6292, allocations: 47.98 kB / 0.7464 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.6305, allocations: 0.8136 MB / 0.7472 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.6305, allocations: 3.938 kB / 0.7472 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/0.6306, allocations: 27.94 kB / 0.7472 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.247e-05/0.6307, allocations: 40.92 kB / 0.7473 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.6318, allocations: 0.6217 MB / 0.7479 GB, free: 12.46 MB / 0.5606 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.004754/0.6365, allocations: 3.937 MB / 0.7517 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/0.6372, allocations: 344.2 kB / 0.7521 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.6375, allocations: 157.3 kB / 0.7522 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.6376, allocations: 93.33 kB / 0.7523 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.6376, allocations: 38.84 kB / 0.7523 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.6376, allocations: 0 / 0.7523 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005888/0.6435, allocations: 1.693 MB / 0.754 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.6436, allocations: 132.5 kB / 0.7541 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008202/0.6444, allocations: 0.6133 MB / 0.7547 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/0.6445, allocations: 33.7 kB / 0.7547 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.6448, allocations: 375.8 kB / 0.7551 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.645, allocations: 154.7 kB / 0.7552 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.6452, allocations: 158.6 kB / 0.7554 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.6454, allocations: 374.8 kB / 0.7558 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/0.6458, allocations: 205.9 kB / 0.7559 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/0.6465, allocations: 0.5047 MB / 0.7564 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.6475, allocations: 0.7555 MB / 0.7572 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6475, allocations: 0 / 0.7572 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00163/0.6492, allocations: 0.876 MB / 0.758 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.6492, allocations: 19.92 kB / 0.7581 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.6492, allocations: 8 kB / 0.7581 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.6507, allocations: 315.5 kB / 0.7584 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.6512, allocations: 131.8 kB / 0.7585 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.6526, allocations: 0.9232 MB / 0.7594 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000604/0.6532, allocations: 35.92 kB / 0.7594 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.6533, allocations: 63.98 kB / 0.7595 GB, free: 15.82 MB / 0.5762 GB 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.0005043/0.6538, allocations: 253.5 kB / 0.7597 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.6539, allocations: 67.58 kB / 0.7598 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.6557, allocations: 0.8572 MB / 0.7606 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.6557, allocations: 8 kB / 0.7606 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6557, allocations: 0 / 0.7606 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.6557, allocations: 4.859 kB / 0.7606 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.6582, allocations: 1.461 MB / 0.7621 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.6582, allocations: 3.938 kB / 0.7621 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.6593, allocations: 211.8 kB / 0.7623 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/0.6595, allocations: 24.78 kB / 0.7623 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.6595, allocations: 19.98 kB / 0.7623 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/0.6621, allocations: 2.881 MB / 0.7651 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6621, allocations: 0 / 0.7651 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.6636, allocations: 0.8274 MB / 0.7659 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.6639, allocations: 184.6 kB / 0.7661 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.664, allocations: 12 kB / 0.7661 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.6644, allocations: 15.98 kB / 0.7661 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.6645, allocations: 47.83 kB / 0.7662 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/0.6646, allocations: 39.98 kB / 0.7662 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006134/0.6652, allocations: 447.1 kB / 0.7667 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6652, allocations: 0 / 0.7667 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001022/0.6662, allocations: 251.8 kB / 0.7669 GB, free: 7.75 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.002295/0.6685, allocations: 1.549 MB / 0.7684 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.6697, allocations: 0.5342 MB / 0.7689 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.6697, allocations: 4 kB / 0.7689 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.6707, allocations: 407.6 kB / 0.7693 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.6724, allocations: 367 kB / 0.7697 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009176/0.6815, allocations: 6.33 MB / 0.7758 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/0.6821, allocations: 0.9298 MB / 0.7768 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001031/0.6832, allocations: 470.3 kB / 0.7772 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000537/0.6837, allocations: 287.3 kB / 0.7775 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of SimCode: time 7.62e-07/0.6837, allocations: 0 / 0.7775 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05815/0.7419, allocations: 24.5 MB / 0.8014 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.6, allocations: 14.17 kB / 0.8014 GB, free: 4.18 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.965801562997513]