Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001384/0.001384, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.001327/0.001327, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.405/1.405, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.22/0.22, allocations: 46.91 MB / 357.7 MB, free: 10.2 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.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 83.86 kB / 0.4917 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1208, allocations: 66.04 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4701/0.5909, allocations: 151 MB / 0.7036 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008708/0.5996, allocations: 5.615 MB / 0.7091 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.6006, allocations: 27.75 kB / 0.7091 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.6018, allocations: 330 kB / 0.7094 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.6041, allocations: 0.8784 MB / 0.7103 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.607, allocations: 1.018 MB / 0.7113 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00236/0.6094, allocations: 1.801 MB / 0.7131 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000648/0.61, allocations: 413.4 kB / 0.7135 GB, free: 28 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.6114, allocations: 0.7826 MB / 0.7142 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.6125, allocations: 0.7553 MB / 0.715 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.6126, allocations: 60 kB / 0.715 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.6139, allocations: 0.5732 MB / 0.7156 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.6142, allocations: 275.1 kB / 0.7158 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004723/0.6147, allocations: 390.2 kB / 0.7162 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.6163, allocations: 1.183 MB / 0.7174 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.6163, allocations: 0 / 0.7174 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6163, allocations: 0 / 0.7174 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.6163, allocations: 0 / 0.7174 GB, free: 12.02 MB / 0.5294 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.002151/0.6185, allocations: 1.074 MB / 0.7184 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.6185, allocations: 8.031 kB / 0.7184 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.578e-05/0.6185, allocations: 21.17 kB / 0.7184 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.6187, allocations: 98.69 kB / 0.7185 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003584/0.619, allocations: 100.4 kB / 0.7186 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008538/0.6199, allocations: 0.537 MB / 0.7192 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.62, allocations: 101.1 kB / 0.7192 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.325e-05/0.6201, allocations: 55.92 kB / 0.7193 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.6214, allocations: 0.811 MB / 0.7201 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.6214, allocations: 4 kB / 0.7201 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/0.6215, allocations: 27.98 kB / 0.7201 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/0.6215, allocations: 36.97 kB / 0.7202 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.6226, allocations: 0.6594 MB / 0.7208 GB, free: 8.32 MB / 0.5294 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.004764/0.6274, allocations: 3.944 MB / 0.7247 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008226/0.6282, allocations: 420.2 kB / 0.7251 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.6286, allocations: 187 kB / 0.7252 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006683/0.6292, allocations: 0.7366 MB / 0.726 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.6293, allocations: 42.88 kB / 0.726 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 2.405e-06/0.6293, allocations: 0 / 0.726 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.00333/0.6326, allocations: 1.558 MB / 0.7275 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/0.6327, allocations: 132.5 kB / 0.7276 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007012/0.6334, allocations: 0.5694 MB / 0.7282 GB, free: 172 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.6334, allocations: 37.7 kB / 0.7282 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/0.6337, allocations: 363.8 kB / 0.7286 GB, free: 15.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.6339, allocations: 166.6 kB / 0.7287 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.6341, allocations: 150.6 kB / 0.7289 GB, free: 15.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.6343, allocations: 374.8 kB / 0.7292 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.6347, allocations: 213.9 kB / 0.7294 GB, free: 14.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006326/0.6353, allocations: 0.5123 MB / 0.7299 GB, free: 14.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.6363, allocations: 0.7601 MB / 0.7307 GB, free: 13.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6363, allocations: 4 kB / 0.7307 GB, free: 13.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001684/0.638, allocations: 0.9066 MB / 0.7316 GB, free: 12.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.638, allocations: 8 kB / 0.7316 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.6381, allocations: 16.12 kB / 0.7316 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.6395, allocations: 276.6 kB / 0.7319 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.6398, allocations: 123.8 kB / 0.732 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.641, allocations: 0.8896 MB / 0.7328 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.6414, allocations: 28 kB / 0.7329 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.747e-05/0.6415, allocations: 39.92 kB / 0.7329 GB, free: 11 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000355/0.6418, allocations: 248.8 kB / 0.7332 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.6419, allocations: 67.58 kB / 0.7332 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.6433, allocations: 0.7751 MB / 0.734 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.6433, allocations: 4 kB / 0.734 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.6433, allocations: 0 / 0.734 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.6433, allocations: 3.938 kB / 0.734 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.6455, allocations: 1.408 MB / 0.7354 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6455, allocations: 3.938 kB / 0.7354 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.6465, allocations: 204 kB / 0.7356 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.375e-05/0.6466, allocations: 24.84 kB / 0.7356 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.6467, allocations: 16.66 kB / 0.7356 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.649, allocations: 2.873 MB / 0.7384 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.649, allocations: 4.031 kB / 0.7384 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.6506, allocations: 1.017 MB / 0.7394 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.6509, allocations: 204.5 kB / 0.7396 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.319e-05/0.651, allocations: 16.06 kB / 0.7396 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.6514, allocations: 19.98 kB / 0.7396 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/0.6515, allocations: 39.83 kB / 0.7397 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.6515, allocations: 19.98 kB / 0.7397 GB, free: 3.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000569/0.6521, allocations: 431 kB / 0.7401 GB, free: 3.164 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.6521, allocations: 0 / 0.7401 GB, free: 3.164 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008796/0.653, allocations: 227.8 kB / 0.7403 GB, free: 2.941 MB / 0.545 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002355/0.6553, allocations: 1.703 MB / 0.742 GB, free: 1.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.6569, allocations: 0.5676 MB / 0.7425 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.6569, allocations: 4 kB / 0.7425 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.6581, allocations: 443.4 kB / 0.743 GB, free: 160 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.66, allocations: 373.3 kB / 0.7433 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.6707, allocations: 6.491 MB / 0.7496 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/0.6713, allocations: 0.9385 MB / 0.7506 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007473/0.672, allocations: 206.4 kB / 0.7508 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.6724, allocations: 243.3 kB / 0.751 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.6724, allocations: 0 / 0.751 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05316/0.7256, allocations: 22.63 MB / 0.7731 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.63, allocations: 14.86 kB / 0.7731 GB, free: 1.152 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.83626617799746]