Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002626/0.002626, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 46.96 MB / 360.9 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.89 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3171, allocations: 66.04 MB / 0.5606 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2021/0.5192, allocations: 153.8 MB / 0.7108 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0092/0.5284, allocations: 4.929 MB / 0.7156 GB, free: 4.855 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007968/0.5292, allocations: 27.75 kB / 0.7157 GB, free: 4.828 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.5302, allocations: 310 kB / 0.716 GB, free: 4.523 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.5342, allocations: 1.364 MB / 0.7173 GB, free: 3.156 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003047/0.5373, allocations: 1.055 MB / 0.7183 GB, free: 2.105 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002862/0.5401, allocations: 1.871 MB / 0.7201 GB, free: 232 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007522/0.5409, allocations: 389.6 kB / 0.7205 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.5436, allocations: 1.133 MB / 0.7216 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.545, allocations: 0.7627 MB / 0.7224 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.5452, allocations: 60 kB / 0.7224 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.5465, allocations: 0.5501 MB / 0.723 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.5469, allocations: 275.2 kB / 0.7232 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000432/0.5473, allocations: 334.6 kB / 0.7235 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.5492, allocations: 1.304 MB / 0.7248 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5492, allocations: 0 / 0.7248 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5492, allocations: 3.938 kB / 0.7248 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.5492, allocations: 0 / 0.7248 GB, free: 11.42 MB / 0.5606 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.002338/0.5516, allocations: 1.042 MB / 0.7258 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.5516, allocations: 12.02 kB / 0.7258 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.5518, allocations: 94.52 kB / 0.7259 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008321/0.5526, allocations: 139.4 kB / 0.7261 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.5536, allocations: 489.3 kB / 0.7265 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.5538, allocations: 151.8 kB / 0.7267 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.5539, allocations: 51.98 kB / 0.7267 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.5554, allocations: 1.139 MB / 0.7278 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.5554, allocations: 4 kB / 0.7278 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.898e-05/0.5555, allocations: 24 kB / 0.7279 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.585e-05/0.5556, allocations: 44.86 kB / 0.7279 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.5568, allocations: 0.6204 MB / 0.7285 GB, free: 7.387 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.004966/0.5617, allocations: 3.301 MB / 0.7317 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007226/0.5624, allocations: 343.6 kB / 0.7321 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.5627, allocations: 161.3 kB / 0.7322 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-05/0.5628, allocations: 12.27 kB / 0.7322 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.5629, allocations: 38.84 kB / 0.7323 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.245e-06/0.5629, allocations: 0 / 0.7323 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005947/0.5688, allocations: 1.605 MB / 0.7338 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.5689, allocations: 132.5 kB / 0.734 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008174/0.5698, allocations: 0.6327 MB / 0.7346 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/0.5698, allocations: 37.7 kB / 0.7346 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.5701, allocations: 371.8 kB / 0.735 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.5703, allocations: 150.7 kB / 0.7351 GB, free: 380 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.5705, allocations: 158.6 kB / 0.7353 GB, free: 216 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2465/0.8171, allocations: 378.7 kB / 0.7356 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006592/0.8177, allocations: 207.6 kB / 0.7358 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/0.8184, allocations: 0.5875 MB / 0.7364 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.8195, allocations: 0.7502 MB / 0.7371 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.8195, allocations: 3.969 kB / 0.7371 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001811/0.8214, allocations: 0.8794 MB / 0.738 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.8214, allocations: 13.53 kB / 0.738 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.8214, allocations: 9.656 kB / 0.738 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.8227, allocations: 316.3 kB / 0.7383 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.823, allocations: 125.6 kB / 0.7384 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.8241, allocations: 0.9305 MB / 0.7394 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.8246, allocations: 25.84 kB / 0.7394 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/0.8247, allocations: 65 kB / 0.7394 GB, free: 173.5 MB / 0.5606 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.0003276/0.825, allocations: 252.3 kB / 0.7397 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.8251, allocations: 72.89 kB / 0.7397 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.8266, allocations: 0.8616 MB / 0.7406 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8266, allocations: 3.906 kB / 0.7406 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.8266, allocations: 0 / 0.7406 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.8266, allocations: 2.625 kB / 0.7406 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.8283, allocations: 1.145 MB / 0.7417 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.8283, allocations: 3.562 kB / 0.7417 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009519/0.8292, allocations: 213.7 kB / 0.7419 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.36e-05/0.8293, allocations: 26.34 kB / 0.7419 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.8293, allocations: 23.28 kB / 0.742 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.8307, allocations: 2.66 MB / 0.7446 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8307, allocations: 0 / 0.7446 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.8317, allocations: 0.8334 MB / 0.7454 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.832, allocations: 109.3 kB / 0.7455 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/0.8321, allocations: 12 kB / 0.7455 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.8324, allocations: 15.66 kB / 0.7455 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.8325, allocations: 42.98 kB / 0.7456 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.8326, allocations: 43.84 kB / 0.7456 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004035/0.833, allocations: 447.8 kB / 0.746 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.833, allocations: 3.172 kB / 0.746 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000833/0.8338, allocations: 260.2 kB / 0.7463 GB, free: 167.7 MB / 0.5606 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.001627/0.8354, allocations: 1.53 MB / 0.7478 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000998/0.8364, allocations: 0.5342 MB / 0.7483 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8364, allocations: 7.938 kB / 0.7483 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008532/0.8373, allocations: 401 kB / 0.7487 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.8388, allocations: 358.6 kB / 0.749 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006824/0.8456, allocations: 6.346 MB / 0.7552 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.8459, allocations: 336.4 kB / 0.7555 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009066/0.8468, allocations: 466.3 kB / 0.756 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004196/0.8472, allocations: 291.3 kB / 0.7563 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.393e-06/0.8472, allocations: 0 / 0.7563 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05816/0.9053, allocations: 25.63 MB / 0.7813 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.72, allocations: 4.062 kB / 0.7813 GB, free: 131.9 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 17.935545362066478]