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.000849/0.000849, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000928/0.000928, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8892/0.8892, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.2493/0.2493, allocations: 34.23 MB / 294.8 MB, free: 0.6797 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.342e-05, allocations: 2.281 kB / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3191/0.3191, allocations: 153.8 MB / 0.582 GB, free: 6.688 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005587/0.3247, allocations: 4.919 MB / 0.5868 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005293/0.3252, allocations: 23.75 kB / 0.5868 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009105/0.3262, allocations: 313.9 kB / 0.5871 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003198/0.3294, allocations: 1.392 MB / 0.5885 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.3315, allocations: 1.099 MB / 0.5895 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001904/0.3334, allocations: 1.875 MB / 0.5914 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005293/0.334, allocations: 393.5 kB / 0.5917 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.3363, allocations: 1.351 MB / 0.5931 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008897/0.3372, allocations: 0.7273 MB / 0.5938 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.58e-05/0.3373, allocations: 63.19 kB / 0.5938 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009276/0.3382, allocations: 0.5616 MB / 0.5944 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.3384, allocations: 283.1 kB / 0.5946 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.3386, allocations: 275.4 kB / 0.5949 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.3401, allocations: 1.387 MB / 0.5963 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3401, allocations: 0 / 0.5963 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3401, allocations: 0 / 0.5963 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.286e-05/0.3402, allocations: 0 / 0.5963 GB, free: 8.027 MB / 0.4948 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.001999/0.3422, allocations: 1.045 MB / 0.5973 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3422, allocations: 12.03 kB / 0.5973 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.756e-05/0.3423, allocations: 98.5 kB / 0.5974 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005673/0.3429, allocations: 139.5 kB / 0.5975 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006727/0.3435, allocations: 485.2 kB / 0.598 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.3437, allocations: 159.8 kB / 0.5981 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/0.3437, allocations: 44 kB / 0.5982 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009551/0.3447, allocations: 1.136 MB / 0.5993 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.3447, allocations: 7.938 kB / 0.5993 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.3448, allocations: 24 kB / 0.5993 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.3448, allocations: 40.97 kB / 0.5994 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007015/0.3455, allocations: 0.6166 MB / 0.6 GB, free: 3.992 MB / 0.4948 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.002829/0.3483, allocations: 3.301 MB / 0.6032 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.3487, allocations: 339.6 kB / 0.6035 GB, free: 248 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.3489, allocations: 161.3 kB / 0.6037 GB, free: 84 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.173e-05/0.349, allocations: 12.28 kB / 0.6037 GB, free: 72 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3491, allocations: 38.84 kB / 0.6037 GB, free: 24 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 3.025e-06/0.3491, allocations: 0 / 0.6037 GB, free: 24 kB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003294/0.3524, allocations: 1.616 MB / 0.6053 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.3524, allocations: 136.5 kB / 0.6054 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.3529, allocations: 0.6287 MB / 0.606 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.353, allocations: 38.36 kB / 0.6061 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.3531, allocations: 367.9 kB / 0.6064 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.004e-05/0.3532, allocations: 146.7 kB / 0.6066 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.3534, allocations: 158.6 kB / 0.6067 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3535, allocations: 378.8 kB / 0.6071 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.3537, allocations: 201.9 kB / 0.6073 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.3541, allocations: 0.588 MB / 0.6078 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/0.3548, allocations: 0.7524 MB / 0.6086 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3548, allocations: 4 kB / 0.6086 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009758/0.3558, allocations: 0.8758 MB / 0.6094 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3558, allocations: 8.938 kB / 0.6094 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.3558, allocations: 15.98 kB / 0.6095 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007794/0.3566, allocations: 306 kB / 0.6097 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.3568, allocations: 123.8 kB / 0.6099 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007386/0.3575, allocations: 0.9347 MB / 0.6108 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.3578, allocations: 31.98 kB / 0.6108 GB, free: 8.293 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/0.3579, allocations: 66.14 kB / 0.6109 GB, free: 8.23 MB / 0.5105 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.000249/0.3581, allocations: 241.5 kB / 0.6111 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.3582, allocations: 79.58 kB / 0.6112 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.3593, allocations: 0.8673 MB / 0.612 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3593, allocations: 4 kB / 0.612 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3593, allocations: 3.938 kB / 0.612 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3593, allocations: 3.984 kB / 0.612 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.3606, allocations: 1.143 MB / 0.6132 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3606, allocations: 7.938 kB / 0.6132 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005439/0.3611, allocations: 199.8 kB / 0.6133 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-05/0.3612, allocations: 28.78 kB / 0.6134 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.3612, allocations: 23.98 kB / 0.6134 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.3626, allocations: 2.656 MB / 0.616 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.3626, allocations: 5.781 kB / 0.616 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008074/0.3635, allocations: 0.834 MB / 0.6168 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.3636, allocations: 115.5 kB / 0.6169 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.3637, allocations: 8 kB / 0.6169 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.3639, allocations: 19.98 kB / 0.6169 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.364, allocations: 51.8 kB / 0.617 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.364, allocations: 39.98 kB / 0.617 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003564/0.3644, allocations: 435 kB / 0.6175 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3644, allocations: 0.9375 kB / 0.6175 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006144/0.365, allocations: 255.8 kB / 0.6177 GB, free: 0.8867 MB / 0.5105 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.001441/0.3664, allocations: 1.546 MB / 0.6192 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000749/0.3672, allocations: 0.5314 MB / 0.6197 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3672, allocations: 4.062 kB / 0.6197 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005659/0.3677, allocations: 414.2 kB / 0.6201 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00095/0.3687, allocations: 372.4 kB / 0.6205 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005801/0.3745, allocations: 6.246 MB / 0.6266 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.3747, allocations: 332.7 kB / 0.6269 GB, free: 7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007194/0.3754, allocations: 470.8 kB / 0.6273 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/0.3758, allocations: 284.4 kB / 0.6276 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/0.3758, allocations: 0 / 0.6276 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2119/0.5877, allocations: 25.68 MB / 0.6527 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/8.945, allocations: 3.938 kB / 0.6527 GB, free: 162.8 MB / 0.5261 GB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/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: 11.062223434448242]